setCurrentView method
Sets the view of the control.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationmultipleviewpattern-setcurrentview.
Implementation
@pragma('vm:prefer-inline')
void setCurrentView(int view) {
final hr$ = HRESULT(_SetCurrentViewFn(ptr, view));
if (hr$.isError) throw WindowsException(hr$);
}