Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Is there a way to remove a popup menu from a menu? Collapse All
Subject Author Date
Offer Har Dec 24, 2008 - 2:36 PM

A pop-up menu does not have an ID, so I don’t know how to identify it...


Thanks,


Ron.

Offer Har Dec 26, 2008 - 7:49 AM

Do you have any idea if they are going to fix it in VC10...?


Because neither of the suggestions can work for me, I though if using the first child of this popup menu, will it work?


Thanks for the preview of the new cool cells... one question - I also need UTM - will you be able to add it as well?

Technical Support Dec 29, 2008 - 8:08 AM

We are not sure the menus in VC10 will be different. The Win32 menu resources were designed many years ago, before Win95...
It’s easier to code our own menu designed similar to the toolbar/menu customization subsystem.

Offer Har Dec 29, 2008 - 8:12 AM

What do you mean by: ’It’s easier to code our own menu designed similar to the toolbar/menu customization subsystem.’?


Also - Because neither of the suggestions can work for me, I though if using the first child of this popup menu, will it work?

Technical Support Dec 26, 2008 - 2:48 AM

The popup sub menus have IDs only in the customizable menus based on the command tree nodes, because each CExtCustomizeCmdTreeNode command node has ID. The simple and non-customizable menus have submenu items without IDs because Win32 menu resource format does not support this. So, you should know the index to remove. Alternatively you can search menu item by text or by ID of some neighborhood item.

We remember you interested in geographic controls some time ago:

http://www.prof-uis.com/download/forums/GeoControls_BIN.zip