Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Switching pane layout and setting focus
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Switching pane layout and setting focus

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Switching pane layout and setting focus
    Posted: 19 July 2008 at 12:46pm
m_paneManager.ShowPane(pPane1, TRUE); // Set focus!
m_paneManager.GetLayout(m_pLayout); // Save this layout!
 
// Later...
m_paneManager.SetLayout(m_pLayout); // pPane1 is NOT focused!
m_paneManager.RecalcFramesLayout();
 
The question is; shouldn't the layout save "focused pane status"?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2008 at 4:10am
No, shouldn't.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.