![]() |
Disable Context Menu for ToolBar |
Post Reply
|
| Author | |
Gosha
Newbie
Joined: 25 April 2005 Location: Belarus Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Topic: Disable Context Menu for ToolBarPosted: 12 May 2005 at 3:05am |
|
Please, how I can disable all context menu for my toolbar or only one it's submenu "Custumize"?
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 May 2005 at 7:58am |
|
Take a look at CXTPToolBar::SetContextMenuPresent(BOOL bPresent).
This will allow you to remove the name of the toolbar from the contect
menu that popups up when you right-click on a toolbar.
|
|
![]() |
|
Gosha
Newbie
Joined: 25 April 2005 Location: Belarus Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 May 2005 at 6:52am |
|
But I can not remove "Customize" string from context menu on toolbars. How I can do it?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 May 2005 at 11:17am |
|
If you don't need customization just remove ON_COMMAND(XTP_ID_CUSTOMIZE, OnCustomize) from your message map.
|
|
|
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 |