![]() |
Sizing a floating pane |
Post Reply
|
| Author | |
Scott
Newbie
Joined: 28 June 2005 Location: United States Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: Sizing a floating panePosted: 14 October 2005 at 3:29pm |
|
I want to be able to set the size of a pane ( only when it is floating ). I tried using MFC's SetWindowPos, but it seems to work then jumps right back to the old size... Any suggestions??? Scott |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 October 2005 at 11:58pm |
|
Hi, CXTPDockingPane* pPane = GetDockingPaneManager()->FindPane(IDR_PANE1); if (pPane && pPane->IsFloating()) CFrameWnd* pFrame = pParentContainer->GetParentFrame(); pFrame->SetWindowPos(0, 0, 0, 500, 500, SWP_NOZORDER|SWP_NOMOVE); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |