![]() |
how to disapear rightclick menu of CXTPToolBar |
Post Reply
|
| Author | |
chnuser
Newbie
Joined: 07 May 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: how to disapear rightclick menu of CXTPToolBarPosted: 07 May 2008 at 1:45am |
|
|
![]() |
|
RedFin
Groupie
Joined: 26 March 2008 Location: Australia Status: Offline Points: 47 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 May 2008 at 2:33am |
|
If this is the customization toolbar, you can use ...
Private Sub CommandBars1_ToolBarContextMenu(ByVal ToolBar As XtremeCommandBars.ICommandBar, ByVal ContextMenu As XtremeCommandBars.ICommandBar) ContextMenu.Controls.DeleteAll End Sub Obviously if you have your own context menus then you'll have to check the ID of the menu first. Regards, Rohan |
|
![]() |
|
chnuser
Newbie
Joined: 07 May 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 May 2008 at 3:30am |
|
thank U;
My environment: VC7.1 Toolkit pro 8.6.
|
|
![]() |
|
RedFin
Groupie
Joined: 26 March 2008 Location: Australia Status: Offline Points: 47 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 May 2008 at 3:37am |
|
Yeah sorry, my code is VB, but presumably there is something similar under VC?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 May 2008 at 3:46am |
|
Hi,
Search in forum, there was some answers.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
chnuser
Newbie
Joined: 07 May 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 May 2008 at 4:15am |
|
Thanks......
Uses SetContextMenuPresent().
got it
|
|
![]() |
|
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 |