A class for manipulating user-interface elements. Encapsulates an MFC CCmdUI
class
-
Enables or disables the user-interface item for this command.
-
Sets the check state of the user-interface item for this command.
-
Like the SetCheck member function, but operates on radio groups.
-
Sets the text for the user-interface item for this command.
-
Tells the command-routing mechanism to continue routing the current message down the chain of handlers.
PyCCmdUI.ContinueRouting
ContinueRouting() Tells the command-routing mechanism to continue routing the current message down the chain of handlers.
PyCCmdUI.Enable
Enable(bEnable) Enables or disables the user-interface item for this command.
-
bEnable=1 : int
TRUE if the item should be enabled, false otherwise.
PyCCmdUI.SetCheck
SetCheck(state) Sets the check state of the user-interface item for this command.
-
state=1 : int
0 for unchecked, 1 for checked, or 2 for indeterminate.
PyCCmdUI.SetRadio
SetRadio(bOn) Like the SetCheck member function, but operates on radio groups.
-
bOn=1 : int
TRUE if the item should be enabled, false otherwise.
PyCCmdUI.SetText
SetText(text) Sets the text for the user-interface item for this command.
-
text : string
The text for the interface element.