Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
HeeTae Lee
|
Jan 18, 2007 - 2:39 AM
|
I am now studying the Prof-UIS. I have a question. Why samples source have CDocument class? How to add CDocument class at the sample especially "PageNavigator"
|
|
Technical Support
|
Jan 19, 2007 - 3:37 AM
|
If you want to convert the SDI sample that comes with Prof-UIS into SDIDOCVIEW sample (or MDI into MDIDOCVIEW), you should implement the document class at first. Then you should make your view class so it is based on some MFC’s view classes. Then you should remove the old code for creating a view from the OnCreate() method of its parent frame window. Finally, you should update the application’s OnInitInstance() method and put the document template registration into there.
|
|
HeeTae Lee
|
Jan 18, 2007 - 10:54 PM
|
|
|