Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Pane not activating
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pane not activating

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

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 886
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Pane not activating
    Posted: 24 October 2007 at 9:26am

When I switch to another application, the CXTPDockingPaneManager::OnActivatePane method is called to deactivate the active pane. My pane page gets notified of this event.

However, when I switch back to my application, OnActivatePane is not called. My pane page does not get notified. I have to actually click the tab of what I consider the active pane in order for OnActivePane to get called (at that time I can see that m_pActivePane is NULL.
 
So when switching focus from my app to another and then eventually back, the result is that the docking pane manager has no active pane.
 
If a pane is deactivated when my app loses focus, why is the pane not activated when the app regains focus?
 
What event exists to fill this void?
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.141 seconds.