![]() |
Dragging Captionless Docking Panes ? |
Post Reply
|
| Author | |
dlederman
Newbie
Joined: 21 March 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 March 2008 at 2:43am |
|
Hi,
try instead of m_pDockingPane use m_pDockingPane->GetContainer().
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dlederman
Newbie
Joined: 21 March 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 March 2008 at 12:24pm |
|
Thanks Oleg, that worked. :)
|
|
![]() |
|
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 |