Click to See Complete Forum and Search --> : Getting a pointer to other window


Jim Bassett
May 19th, 1999, 12:34 PM
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

Franky Braem
May 20th, 1999, 02:49 AM
You can call the UpdateAllViews method of CDocument.

JohnCz
May 21st, 1999, 10:35 AM
CWnd* pWnd = GetPane(1, 0);



this will return pointer to second pane. See help for more.


John Cz