![]() |
CXTPDockingPane::SetMinTrackSize()? |
Post Reply ![]() |
Author | |
cjrobindch ![]() Groupie ![]() Joined: 29 July 2008 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() Posted: 19 January 2009 at 9:22am |
Hi -
I have a docking pane set up and I'd like to define a minimum size. CXTPDockingPane class has a SetMinTrackSize() function, but the member variables it touches aren't used anywhere. Am I doing something wrong here, or is this unimplemented? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Did you try set it ? Try temporary comment load state from previous layout - maybe it override your settings.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cjrobindch ![]() Groupie ![]() Joined: 29 July 2008 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() |
After some experimentation with the order of operations, I now have hte following code which works correctly:
m_pPaneHandlers = m_kPaneManager.CreatePane(IPANE_HANDLERS, CRect(0, 0,200, 120), xtpPaneDockLeft); CXTPDockingPaneLayout layout(&m_kPaneManager); if (layout.Load(s_paneLayout)) m_kPaneManager.SetLayout(&layout); m_pPaneHandlers = m_kPaneManager.FindPane(IPANE_HANDLERS); m_pPaneHandlers->SetMinTrackSize(CSize(363, 90)); Thanks for the suggestion! |
|
![]() |
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 |