IInputObject::UIActivateIO method (shobjidl_core.h)
UI-activates or deactivates the object.
Syntax
HRESULT UIActivateIO(
[in] BOOL fActivate,
[in] MSG *pMsg
);
Parameters
[in] fActivate
Type: BOOL
Indicates if the object is being activated or deactivated. If this value is nonzero, the object is being activated. If this value is zero, the object is being deactivated.
[in] pMsg
Type: MSG*
A pointer to an MSG structure that contains the message that caused the activation change. This value may be NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll (version 4.71 or later) |