![]() |
Disable popup menu item |
Post Reply
|
| Author | |
kylechen
Groupie
Joined: 29 November 2004 Status: Offline Points: 57 |
Post Options
Thanks(0)
Quote Reply
Topic: Disable popup menu itemPosted: 29 November 2007 at 9:31am |
|
Hi,
I have a menu structure like this:
Edit
Copy
Cut
Paste
Move
Left
Right
Up
Down
Properties
Here Move is a popup menu item which contains a submenu. I'd like to disable the "Move" item now but since it's a popup menu item, it has no ID so I cannot use OnUpdate... (I'm using VC6.0 + XTP11.2.0)
Anyone can help me?
Thanks!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 November 2007 at 1:10am |
|
Hi,
We have trick to assign some id for Popup items: in menu resource editor add id after \t in caption:
Move\t200.
Now Move has id 200 and you can add Update handler.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
kylechen
Groupie
Joined: 29 November 2004 Status: Offline Points: 57 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 November 2007 at 8:34am |
|
Thanks oleg, it's so cool!
|
|
![]() |
|
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 |