|
-
October 25th, 1999, 01:27 PM
#3
Re: Can I getTree-view and RichEdit in splitter windows?
Yes - you got it - that's the way I did it.
As far as the splitter goes, I just added a CSplitterWnd m_wndSplitter; in mainFrm.h
then did all of the paneSize() and CreateStatic()stuff in the MainFrm::OnCreateClient(), followed by a couple of CreateView() calls to fire up each side of the splitter window.
So now, I call getDocument() from the tree view and store the treeview class pointer in the doc class.
But when I try the same from the RichEdit code, the compiler objects that he cannot find a RichTextDoc class for the getDocument() call.
Thanks,
Bryan.
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
|