OLECMDID_WINDOWSTATE_FLAG enumeration (docobj.h)
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 Value: 0x00000001 The window is visible. |
OLECMDIDF_WINDOWSTATE_ENABLED Value: 0x00000002 The window has focus. |
OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID Value: 0x00010000 The window is visible and valid. |
OLECMDIDF_WINDOWSTATE_ENABLED_VALID Value: 0x00020000 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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | docobj.h |