Can Caption in Left or Right of the pane |
Post Reply |
Author | |
New Jack
Newbie Joined: 01 September 2005 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 11 September 2005 at 7:27am |
I create dockingpane with xtpPaneThemeVisio, when the pane dock to bottom or top , i want the caption is drawn in left or right side of the pane. Is there any way to do this ? thanks. |
|
Agent 007
Newbie Joined: 08 April 2005 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
You can draw the caption on the left side or on the top of the pane.
Also, the captions can be set to draw automatically depending on it the pane is large enough to display the caption. Use the following ways to set the behaviour for the caption: Note: m_paneManager is declared as CXTPDockingPaneManager m_paneManager; m_paneManager.SetCaptionDirection(xtpPaneCaptionHorizontal) or m_paneManager.SetCaptionDirection(xtpPaneCaptionHorizontal) or m_paneManager.SetCaptionDirection(xtpPaneCaptionAutoByPosition) or m_paneManager.SetCaptionDirection(xtpPaneCaptionAutoBySize) See the DockingPane sample: Pane |
|
Agent 007
Newbie Joined: 08 April 2005 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Make the second one
m_paneManager.SetCaptionDirection(xtpPaneCaptionVertical) |
|
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 |