Where will I dock? |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 894 |
Post Options
Thanks(0)
Posted: 02 February 2010 at 3:23pm |
When a pane is floating, I need to know where I would dock if the user double-clicked the pane to dock it. How can I get this information?
I have found that if I call GetPaneDirection that the value returned is 4 (not one of the values in XTPDockingPaneDirection enum). I see that is because I am floating. The docking pane's IsFloating returns TRUE, as expected.
When I step through the GetPaneDirection code it is fairly complex so I want to avoid a hack and any assumptions that would go with it. This was pretty easy to do with MFC so I assume it is easy to do with CJ but I just have not found the method or call path to returne me the information. But it has to be available otherwise when I double-click the pane, it would not know where to go!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |