Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - how to get rid of "Toolbar options" dropd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to get rid of "Toolbar options" dropd

 Post Reply Post Reply
Author
Message
Joe Brown View Drop Down
Newbie
Newbie


Joined: 01 March 2004
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joe Brown Quote  Post ReplyReply Direct Link To This Post Topic: how to get rid of "Toolbar options" dropd
    Posted: 07 May 2004 at 5:50pm
I have several toolbars in my app, and want to get rid of the dropdown button for "Toolbar options". I don't want the user to be able to customize the toolbar, or even see the dropdown button. How do I get rid of it? I've tried looking at SetFlags with no luck.
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: 08 May 2004 at 10:59am

Try this:

 CXTPCommandBars* pCommandBars = GetCommandBars();
 pCommandBars->GetCommandBarsOptions()-> bShowExpandButtonAlways = False;

Back to Top
Joe Brown View Drop Down
Newbie
Newbie


Joined: 01 March 2004
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joe Brown Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2004 at 12:43pm
Worked like a charm. Thanks!
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.234 seconds.