![]() |
How to create dockingPane with different style |
Post Reply ![]() |
Author | |
Windtech ![]() Newbie ![]() Joined: 20 November 2007 Location: China Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 27 November 2007 at 11:47pm |
Hi,
I want to create paneA with default style, and paneB with 'xtpPaneNoCaption' style.
Is it possiable?
CXTPDockingPane* pwndPaneA = m_paneManager.CreatePane(
IDR_PANE_DATABASE , CRect(0, 0,300, 120), xtpPaneDockLeft); m_paneManager.SetDefaultPaneOptions(xtpPaneNoFloatable | xtpPaneNoCaption | xtpPaneNoDockable);
CXTPDockingPane* pwndPaneB = m_paneManager.CreatePane(
IDR_PANE_NAVBAR, CRect(0, 0,200, 120), xtpPaneDockLeft); SetDefaultPaneOptions() method effecte all panes behavior.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Yes. Don't set xtpPaneNoCaption as default option.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Windtech ![]() Newbie ![]() Joined: 20 November 2007 Location: China Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
thanks! Oleg Got info from comments
// See Also: GetDefaultPaneOptions, CXTPDockingPane::SetOptions, XTPDockingPaneOptions
Great job!
|
|
![]() |
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 |