Print Page | Close Window

XTP_DOCKINGPANE_ACTION incorrect

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=16129
Printed Date: 27 November 2024 at 2:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTP_DOCKINGPANE_ACTION incorrect
Posted By: rdhd
Subject: XTP_DOCKINGPANE_ACTION incorrect
Date Posted: 02 February 2010 at 3:44pm
I dock my pane on the right side. My pane gets the XTP_DPN_ACTION notification. The action has the dockDirection member set to XTPPaneDockRight.
 
I double click the pane and it floats. I get notified that I am floating.
 
I double click the floating pane's title bar to dock the pane again.
 
My pane gets the XTP_DPN_ACTION notification. The action has the dockDirection member set to xtpPaneDockLeft! But it docks on the right as it should.
 
CXTPDockingPaneManager::_ToggleDocking is calling NotifyAction without specifying the "dockDirection" argument so the compiler is providing the default, which is xtpPaneDockLeft.
 
Why does the docking code not know where the pane is being docked when I double-click the floating window?



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