Professional UI Solutions
Site Map   /  Register


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 General Discussion » CExtMenuControlBar dynamic changes Collapse All
Subject Author Date
Evgeniy Aleykin Sep 11, 2007 - 6:17 AM


I tried to change manu dynamicly, but I have a problem doing this. A new menu entries has the same ID’s in resource, but different strings. So the popup entries are goes well, but non popup entry stays unchanged... Why?

And why if I add a menu resource with, for example two entries, with the same ID’s but different strings - their label strings will apear equal?

Technical Support Sep 13, 2007 - 11:50 AM

First of all, please let us know more details about the menu bar and menus in your project. I.e. are you using customizable toolbars and menus?
If you want to build menus dynamically, then you should use the approach described here:

How to insert menu items at run time?

Suhai Gyorgy Sep 11, 2007 - 8:28 AM

This feature article should help: Constructing Menus Dynamically at Run Time