![]() |
ShowPopup Help |
Post Reply ![]() |
Author | |
griswald88 ![]() Groupie ![]() Joined: 16 May 2008 Status: Offline Points: 29 |
![]() ![]() ![]() ![]() ![]() Posted: 30 May 2008 at 2:33pm |
I have a menu created that has many sub menus and I want to show that menu as a popup when the user right clicks in a specific area, but it doesn't seem to work as I would expect. I am using the following code:
CommandBars.ActiveMenuBar.CommandBars(1).ShowPopup
I have tried with and without the TPM_RECURSE flag.
I don't have to duplicate the entire menu structure as a context menu do I?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Try
CommandBars.ActiveMenuBar.Controls(1).CommandBar.ShowPopup
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
griswald88 ![]() Groupie ![]() Joined: 16 May 2008 Status: Offline Points: 29 |
![]() ![]() ![]() ![]() ![]() |
Perfect...not sure how I would have known to try that; especially since there is no intellisense for it (hidden attribute)?
|
|
![]() |
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 |