Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Changes the visual state of the window. For example, minimizes or maximizes it.
Syntax
HRESULT SetVisualState( WindowVisualState state );
Parameters
- state
[in] A value from the WindowVisualState enumerated type that specifies the state of the window.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
UI Automation Providers Overview, IWindowProvider::WindowVisualState