![]() |
Bug in CXTPDockingPaneManager::_ToggleDocking |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: Bug in CXTPDockingPaneManager::_ToggleDockingPosted: 10 May 2008 at 8:24pm |
|
I have a docking pane at the right, and I do not allow it to dock to the left:
if (pAction->action == xtpPaneActionDocking)
{ if (pAction->dockDirection != xtpPaneDockRight) pAction->bCancel = TRUE; } Now I detach this pane to floating mode. What happens if I double-click the caption? Nothing! But it should re-attach to the right!
The problem lies here: XTPDockingPaneManager.cpp(753)
We can see that the notification sent is an explicit "dock to left"-event!
BOOL NotifyAction(XTPDockingPaneAction action, CXTPDockingPane* pPane, CXTPDockingPaneBase* pDockContainer = NULL, XTPDockingPaneDirection dockDirection = xtpPaneDockLeft); |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 May 2008 at 1:40am |
|
Hello,
yes, thanks, now you're right :(
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
bleum
Newbie
Joined: 16 March 2012 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 March 2012 at 1:40am |
|
Hi Oleg
i have the same problem with znakeeye, it seems the default value of dockDirection is still xtpPaneDockLeft.
Can you help me ASAP?
|
|
![]() |
|
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 |