![]() |
Hide "x" in Command Bar |
Post Reply
|
| Author | |
rokky05
Groupie
Joined: 04 February 2008 Location: Ukraine Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: Hide "x" in Command BarPosted: 06 May 2008 at 5:56am |
|
Hi, when user moves Command Bar on window and places it for example on the middle of window Command Bar is represented like separate window with possibility to close Command Bar ("x") and when click on left button on mouse display menu where is possibility to hide Command Bar, possibly hide this possibility?
|
|
![]() |
|
younicke
Senior Member
Joined: 11 March 2005 Status: Offline Points: 107 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 May 2008 at 6:10am |
|
are you referring to the toolbars?
if you are referring to the toolbars then Dim Toolbar As CommandBar Set Toolbar = CommandBars.Add("Standard", xtpBarTop) Toolbar.Closeable = False i hope this helps edit: im sorry i didnt realize this is in the mfc section. my bad. :) |
|
![]() |
|
rokky05
Groupie
Joined: 04 February 2008 Location: Ukraine Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 May 2008 at 6:42am |
|
If I do this: pToolBarCombo ->m_bCloseable = FALSE;VS display error:
cannot access protected member declared in class 'CXTPCommandBar'
![]() |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 May 2008 at 10:16am |
|
you need pToolBarCombo->SetCloseable(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 |