|
-
August 12th, 1999, 08:55 PM
#1
Setting focus on a pane in a splitter window
I have an SDI app that has two panes, each with its own framewnd and view. One of the panes is a tree view. The problem I'm having is that I can't seem to programmatically select the other pane when I double-click on a tree item. That is, I want to have the same effect as if the user clicks on the other pane. I have tried calling the other pane's SetFocus and/or SetActiveWindow, but neither works.
Any help or advice would be greatly appreciated.
-
August 13th, 1999, 01:32 AM
#2
Re: Setting focus on a pane in a splitter window
I think you needn't set focus in the other pane, you can use the pointer of the other pane to do what u want to do.
(CMyPane*) pMyPane = (CMyPane*)m_SplitterWnd.GetPane(row,col);
pMyPane->.....
the beautiful story made me cry.
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
|