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 » menu bar items automatically get excahnged between the parent and the child interfaces Collapse All
Subject Author Date
howard liu Jun 24, 2008 - 7:29 AM

Hi,


clicking on a particular menu option of the user interface (of my application) leads to a secondary (child) interface. The parent interface and the child interface have independent menu bars and tool bars. But after creating the child interface, from being within the parent interface, and when i click on the menu bar of the child interface, the menu bar of the child interface gets automatically updated with the menu bar items present in the parent interface. This happens after applying Prof-UI over the parent and child interface.


The vice versa also happens, after creating the child interface (from within the parent interface) and when i click over the parent interface, the menu bar in the parent interface gets updated with the menu items present in the child menu frame


Is it possible to avoid this scenario


Thanks,


Howard

Technical Support Jun 26, 2008 - 1:03 PM

There must be only one instance of the CExtMenuControlBar window in scope of one profile in the command manager. If you have the main MDI frame window with its command profile and menu bar and you want to create another menu bar in some other window in your application (MDI child window or popup dialog window), you should initialize one more command profiles in the command manager and attach it to the window which contains the second menu bar.

howard liu Jul 2, 2008 - 1:14 AM

It solved the problem, thanks for this support