|
-
October 11th, 2012, 11:23 AM
#4
Re: How To Handle An Open Document
It is usually UpdateAllViews. Then in each View you have to implement (override) OnUpdate method that will be called in respond on the UpdateAllViews.
In OnUpdate implemetation you put some code to update current View using document data (via GetDocument method).
Have a look at the Scribble Sample: MDI Drawing Application and MDIDOCVW Sample: Demonstrates MDI Using Doc/View Architecture
Victor Nijegorodov
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
|