![]() |
Removing items from toolbar area |
Post Reply
|
| Author | |
Graham Perks
Newbie
Joined: 14 September 2005 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: Removing items from toolbar areaPosted: 13 November 2005 at 11:17am |
|
I have set up some toolbars and an MDI application. It's working well but
the screen has some extra junk I would like to remove. I've not been able to figure out how and am asking for some assistance. (http://
www.ausperks.net/CodeJockQ.png) As soon as an MDI child is opened (which has tab movement and close buttons, highlighted in green) the MDI min/max/close buttons appear. Can they be removed? Also, the little drop-down on each toolbar - how can they be hidden? TIA. |
|
![]() |
|
Dmitry
Groupie
Joined: 28 November 2004 Location: Australia Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 November 2005 at 8:07pm |
|
Graham,
The menu minimize, maximize and close buttons can be removed by setting the menu style 'xtpFlagHideMDIButtons' The toolbar expand buttons can be removed by setting 'CXTPCommandBarsOptions::bShowExpandButtonAlways' to FALSE. don't know about the tab ones. Regards, Dmitry |
|
![]() |
|
Graham Perks
Newbie
Joined: 14 September 2005 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 November 2005 at 10:05pm |
|
Thanks Dmitry! I browsed the Help for those but couldn't find them.
The tab ones (in green) are too stay so no worries about a flag for those.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 November 2005 at 2:03am |
|
CXTPCommandBar* pMenuBar = pCommandBars->SetMenu(_T("Menu Bar"), IDR_MAINFRAME);
pCommandBars->GetCommandBarsOptions()->bShowExpandButt onAlways = FALSE; |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |