Posted 19 years ago
by JohnH
Similiar to Visual Studio's IDE, I need to be able to change the structure of a menuItem(s) on my app's main menu and buttons on the related toolbars.
The structure of the menus (on the main menu) is to be set at runtime depending on the control (treeview, textbox, etc.), that has focus and contained in some toolwindow.
So, for example, some menuItems (Cut, Copy, etc.) on the Edit menu may be enabled when a textBox has focus, than when a treeview has focus in some other toolWindow.
I can resort to Win32 API calls, but that has its own set of issues.
Is there a mechanism in the UIStudio framework to ease this tedious menu maintainance task?
The structure of the menus (on the main menu) is to be set at runtime depending on the control (treeview, textbox, etc.), that has focus and contained in some toolwindow.
So, for example, some menuItems (Cut, Copy, etc.) on the Edit menu may be enabled when a textBox has focus, than when a treeview has focus in some other toolWindow.
I can resort to Win32 API calls, but that has its own set of issues.
Is there a mechanism in the UIStudio framework to ease this tedious menu maintainance task?