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

XTP_DOCKINGPANE_ACTION incorrect

 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: 867
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: XTP_DOCKINGPANE_ACTION incorrect
    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?
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.203 seconds.