|
-
May 19th, 1999, 12:34 PM
#1
Getting a pointer to other window
Using VC 6 I have created an MDI explorer type of application. I have placed a few items in the left pane(the CTreeView and have defined the OnClick(NMHDR* pNMHDR, LRESULT* pResult) function
I want to be able to update the right hand pane everytime I make a selection to an item in the left pane, but how do I get a pointer to the right pane window, etc.?
Thanks
Jim Bassett
-
May 20th, 1999, 02:49 AM
#2
Re: Getting a pointer to other window
You can call the UpdateAllViews method of CDocument.
-
May 21st, 1999, 10:35 AM
#3
Re: Getting a pointer to other window
CWnd* pWnd = GetPane(1, 0);
this will return pointer to second pane. See help for more.
John Cz
There are only 10 types of people in the world:
Those who understand binary and those who do not.
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
|