-
December 12th, 2003, 07:10 AM
#1
Modify MDI app using CHtmlView child to add splitter?
I have a large MDI app which uses CHtmlView-derived child windows.
I'd like to change to a splitter-type child window, still using a CHtmlView for the right pane.
How can I convert this existing app?
-
December 12th, 2003, 07:24 AM
#2
In my oppinion, "modifying" an existing application, that is, somehow hacking the source files, will result in a monumental mess. If I were you, I'd start a new project and reuse the view and document classes.
Basically, in your current code, you have a CFrameWnd derived window hosting a CHtmlVeiw derived view. What you need is to have the frame host a CSplitterWnd window, which will host the view(s). Create a new, blank application, and have the wizard add splitters to your windows. Then, have a look at the generated code, and mimic it in your project.
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
|