IUIAutomationWindowPattern::SetWindowVisualState Method
Minimizes, maximizes, or restores the window.
Syntax
HRESULT SetWindowVisualState( WindowVisualState state );
Parameters
- state
[in] The state to set.
Return Value
Returns S_OK if successful, or an error value otherwise.