Enables or disables the command. Values are as follows: seCmdActive_Enabled (enables the command), seCmdActive_Checked (adds a check mark on the command's active window), seCmdActive_ChangeText (changes the text that appears on the command's menu item), seCmdActive_UseDotMark (adds a dot mark on the command's menu item), or seCmdActive_UseBitmap (displays the command's menu item as a bitmap).
The text that appears on the menu.
Description
Occurs when the user interface needs to be updated.
Syntax
Visual Basic
Public Event OnCommandUpdateUI( _
ByVal nCmdID As Long, _
ByRef lCmdFlags As Long, _
ByRef MenuItemText As String, _
ByRef nIDBitmap As Long _
)
Parameters
nCmdID
The command identifier for the affected command.
lCmdFlags
Enables or disables the command. Values are as follows: seCmdActive_Enabled (enables the command), seCmdActive_Checked (adds a check mark on the command's active window), seCmdActive_ChangeText (changes the text that appears on the command's menu item), seCmdActive_UseDotMark (adds a dot mark on the command's menu item), or seCmdActive_UseBitmap (displays the command's menu item as a bitmap).