Print Page | Close Window

How to dynamically move a floating pane

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=10326
Printed Date: 06 May 2024 at 11:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to dynamically move a floating pane
Posted By: mgpw
Subject: How to dynamically move a floating pane
Date Posted: 22 April 2008 at 8:49am
Hi

I have a floating pane window that I would like to dynamically re-position (in screen co-ordinates).  Basically, I would like the window to retain its floating status but be somewhere else on the screen.

Thanks to some other posts on this forum I have been able to re-size the window to the desired size but when I try to move the window my code has no effect.

I have tried deriving from CXTPDockingPane and then calling the protected method SetWindowRect(CRect) but this did not work.

Does anybody know of an approach that I should take?

Thanks in advance



Replies:
Posted By: Oleg
Date Posted: 22 April 2008 at 1:17pm
Hi,
 
Try 
m_paneManager.FloatPane(CXTPDockingPaneBase* pPane, CRect rc);


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


Posted By: mgpw
Date Posted: 23 April 2008 at 12:11pm
Hi Oleg

That worked perfectly

Thank you very much for a quick response - especially at a busy time



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