How to dynamically move a floating pane |
Post Reply |
Author | |
mgpw
Newbie Joined: 22 April 2008 Status: Offline Points: 4 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Try
m_paneManager.FloatPane(CXTPDockingPaneBase* pPane, CRect rc);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mgpw
Newbie Joined: 22 April 2008 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi Oleg
That worked perfectly Thank you very much for a quick response - especially at a busy time |
|
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 |