MultipleViewPattern_SetCurrentView Function
Note This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.
Sets a control to a different layout.
Syntax
HRESULT MultipleViewPattern_SetCurrentView( HUIAPATTERNOBJECT hobj, int viewId );
Parameters
- hobj
[in] The control pattern object.- viewId
[in] The control-specific identifier for the view.
Return Value
Returns S_OK if successful or an error value otherwise.
Remarks
Function Information
Stock Implementation uiautomationcore.dll Custom Implementation No Header uiautomationcoreapi.h Import library uiautomationcore.lib Minimum operating systems Windows XP