Print Page | Close Window

Pane not activating

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=8516
Printed Date: 12 December 2024 at 2:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Pane not activating
Posted By: rdhd
Subject: Pane not activating
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net