![]() |
how to disapear rightclick menu of CXTPToolBar |
Post Reply ![]() |
Author | |
chnuser ![]() Newbie ![]() Joined: 07 May 2008 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 07 May 2008 at 1:45am |
![]() |
|
![]() |
|
RedFin ![]() Groupie ![]() ![]() Joined: 26 March 2008 Location: Australia Status: Offline Points: 47 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
thank U;
My environment: VC7.1 Toolkit pro 8.6.
|
|
![]() |
|
RedFin ![]() Groupie ![]() ![]() Joined: 26 March 2008 Location: Australia Status: Offline Points: 47 |
![]() ![]() ![]() ![]() ![]() |
Yeah sorry, my code is VB, but presumably there is something similar under VC?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Search in forum, there was some answers.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
chnuser ![]() Newbie ![]() Joined: 07 May 2008 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
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 |