Print Page | Close Window

Dragging Captionless Docking Panes ?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9937
Printed Date: 14 November 2025 at 7:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dragging Captionless Docking Panes ?
Posted By: dlederman
Subject: Dragging Captionless Docking Panes ?
Date 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



Replies:
Posted By: Oleg
Date Posted: 22 March 2008 at 2:43am
Hi,
try instead of m_pDockingPane use m_pDockingPane->GetContainer().


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: dlederman
Date Posted: 24 March 2008 at 12:24pm
Thanks Oleg, that worked. :)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net