Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Bug in CXTPDockingPaneManager::_ToggleDocking
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in CXTPDockingPaneManager::_ToggleDocking

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Bug in CXTPDockingPaneManager::_ToggleDocking
    Posted: 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);

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2008 at 1:40am
Hello,
yes, thanks, now you're right :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
bleum View Drop Down
Newbie
Newbie


Joined: 16 March 2012
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote bleum Quote  Post ReplyReply Direct Link To This Post 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?
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.156 seconds.