MenuInitEvent Class
|
|
Provide information about a MenuInitEvent, generated when the user first activates a menu for the first time.
Inheritance HierarchyObject Event MenuInitEvent
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
SyntaxThe MenuInitEvent type exposes the following members.
Constructors|
| Name | Description |
|---|
 | MenuInitEvent | Initializes a new instance of the MenuInitEvent class |
Top
Properties|
| Name | Description |
|---|
 | Menu |
The Menu object that generated this MenuInitEvent (and is about to be displayed for initialization).
|
Top
Remarks
The system generates MenuInitEvent objects before displaying a pull-down menu, allowing the application to initialize items before they are displayed. For example, you can want to dim items that the program is not yet in a position to handle, or you may want to check or uncheck certain items. MenuInitEvent events are passed to Window:MenuInit().
If you change the menu using the Menu access, you do not need to call the window's Menu assign. When the menu is displayed, it is the modified version.
Accelerator keys generate MenuInitEvent events if the accelerator invokes a submenu.
See Also