Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - disable menubar and toobar context menus
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

disable menubar and toobar context menus

 Post Reply Post Reply
Author
Message
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: disable menubar and toobar context menus
    Posted: 15 September 2004 at 3:49pm

Hi,

I´m looking for a way to enable and disable the context menus from menu- and toolbars which appear if the user right clicks on them ! This should be a option in my application settings but till now I didn´t find a way to do this...

Does anyone found a solution for this problem ?

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 September 2004 at 11:48pm

SetContextMenuPresent(FALSE);

or

SetCloseable(FALSE);

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2004 at 5:06am
This solutions only hides the toolbar or menubar from the context menu, but the context menu itself is shown. I want to hide the context menu completly...
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2004 at 8:40am
overload ContextMenu method of CXTPCommandBars.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.047 seconds.