OLECMDID_WINDOWSTATE_FLAG enumeration
Specifies the window state.
Syntax
typedef enum { OLECMDIDF_WINDOWSTATE_USERVISIBLE = 0x00000001, OLECMDIDF_WINDOWSTATE_ENABLED = 0x00000002, OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID = 0x00010000, OLECMDIDF_WINDOWSTATE_ENABLED_VALID = 0x00020000 } OLECMDID_WINDOWSTATE_FLAG;
Constants
- OLECMDIDF_WINDOWSTATE_USERVISIBLE
-
The window is visible.
- OLECMDIDF_WINDOWSTATE_ENABLED
-
The window has focus.
- OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID
-
The window is visible and valid.
- OLECMDIDF_WINDOWSTATE_ENABLED_VALID
-
The window has focus and is valid.
Remarks
A value from this enumeration is passed as the nCmdExecOpt parameter to IOleCommandTarget::Exec in conjunction with passing the OLECMDID_WINDOWSTATECHANGED value of the OLECMDID enumeration as the nCmdID parameter.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
Show: