Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Dragging Captionless Docking Panes ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dragging Captionless Docking Panes ?

 Post Reply Post Reply
Author
Message
dlederman View Drop Down
Newbie
Newbie
Avatar

Joined: 21 March 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote dlederman Quote  Post ReplyReply Direct Link To This Post Topic: Dragging Captionless Docking Panes ?
    Posted: 21 March 2008 at 2:49pm
Hi,
 
I have captionless docking panes that I still want to be able to drag and dock/float. Here is the code I am using:
 
m_pDockingManager->GetDockingContext()->Drag(m_pDockingPane, point);
 
The problem is that when the pane is being dragged, it doesn't seem to recognize itself. What I mean is, it thinks it can be docked to itself; it shows docking stickers over its own pane, etc, which is not the normal behavior.
 
Any help would be greatly appreciated.
 
Thanks!
 
Drew
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 22 March 2008 at 2:43am
Hi,
try instead of m_pDockingPane use m_pDockingPane->GetContainer().
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
dlederman View Drop Down
Newbie
Newbie
Avatar

Joined: 21 March 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote dlederman Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2008 at 12:24pm
Thanks Oleg, that worked. :)
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.055 seconds.