|
-
October 24th, 1999, 10:58 PM
#1
How do I use CEdit
This is a very simple question. But, I have a program with 3 views. One of the views is a edit window. How abouts can I update/change information in that view?
ie) Click on a list, and have the edit window display some text?
.. I have a feeling the answer is very obvious. But it is going over my head at the moment *shrugs*
any help would be great.
-
October 25th, 1999, 02:38 AM
#2
Re: How do I use CEdit
Hello,
Take a look at the function UpdateAllViews and the associated:
void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
You can pass to your CEditView class the hint of what kind of change has ocurred in the list and the thing that has changed. The document will pass the change to all the views associated to it.
Hope this helps a little,
Paco
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|