![]() |
Can I change the size of Docing pane dynamiclly? |
Post Reply ![]() |
Author | |
floydzhang ![]() Groupie ![]() Joined: 08 March 2008 Status: Offline Points: 50 |
![]() ![]() ![]() ![]() ![]() Posted: 07 January 2009 at 4:04am |
Hi,
One more question. Can I change the size of dockingpane dynamically by my application? (not manually by mouse). BR Boyang |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
You can try something like
pPane->SetMinTrackSize(CSize(150, 150));
pPane->SetMaxTrackSize(CSize(150, 150)); RecalcLayout();
GetDockingPaneManager()->NormalizeSplitters(); pPane->SetMinTrackSize(CSize(0,0)); pPane->SetMaxTrackSize(CSize(32000,32000)); |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
floydzhang ![]() Groupie ![]() Joined: 08 March 2008 Status: Offline Points: 50 |
![]() ![]() ![]() ![]() ![]() |
Hi, Oleg,
Thank you. Your code works well. ![]() ![]() Regards Boyang |
|
![]() |
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 |