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
Re: Getting a pointer to other window
You can call the UpdateAllViews method of CDocument.
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