![]() |
How to show navigate button in tab header area? |
Post Reply ![]() |
Author | |
sunyang ![]() Newbie ![]() Joined: 08 May 2010 Location: China Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 08 May 2010 at 2:30am |
How to show navigate button in the tab header area when I use docking pane? There is style is xtpTabLayoutAutoSize, it can show navigate button automatically ,but I want the navigate button always show.
Thanks
|
|
![]() |
|
elmue ![]() Groupie ![]() Joined: 05 June 2010 Location: Germany Status: Offline Points: 24 |
![]() ![]() ![]() ![]() ![]() |
It depends on what Tab control you use.
For CXTPTabClientWnd you have these options: enum XTPWorkspaceButtons { xtpWorkspaceHideArrows = 1, // To hide arrow buttons. xtpWorkspaceHideClose = 2, // To hide close button. xtpWorkspaceHideAll = 3, // To hide arrow and close buttons. xtpWorkspaceShowActiveFiles = 4, // To show active file button. xtpWorkspaceHideArrowsAlways = 1 + 8, // To hide arrow buttons always xtpWorkspaceShowCloseTab = 16, // To show close button for all tabs. xtpWorkspaceShowCloseSelectedTab = 32, // To show close button for selected tabs. }; For CXTPTabControl use: i_TabControl.FindNavigateButton(xtpTabNavigateButtonLeft) ->SetFlags(xtpTabNavigateButtonAlways); i_TabControl.FindNavigateButton(xtpTabNavigateButtonRight)->SetFlags(xtpTabNavigateButtonAlways); i_TabControl.FindNavigateButton(xtpTabNavigateButtonClose)->SetFlags(xtpTabNavigateButtonAlways); |
|
![]() |
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 |