Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Removing Customization
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Removing Customization

 Post Reply Post Reply
Author
Message
Dejan View Drop Down
Newbie
Newbie


Joined: 11 May 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dejan Quote  Post ReplyReply Direct Link To This Post Topic: Removing Customization
    Posted: 09 August 2004 at 12:42am

Is it possible to remove all customization elements from the toolbar?

Setting <bShowExpandButtonAlways = false> removes menu from the toolbar end, but right mouse click on the toolbar still displays menu with the menu/toolbar list. I would prefer to have customization entirely removed.

Regards,

Dejan

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2004 at 6:25am
Try setting <m_bContextMenuPresent = False> for each commandbar.
Back to Top
Dejan View Drop Down
Newbie
Newbie


Joined: 11 May 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dejan Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2004 at 7:05pm
Yes, that's exactly what I did in the end, though by using the provided wrapper member, for each command bar ...

pCommandBar->SetContextMenuPresent(FALSE);

There was an interesting side effect that main menu also had this customization menu disabled - without actually doing anything to it.

Thanks for the tip.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.157 seconds.