Specifies if the client control should have the focus while connecting. The control will not attempt to grab focus from a window running in a different process.
This property is read/write.
HRESULT put_GrabFocusOnConnect( [in] VARIANT_BOOL fGrabFocusOnConnect ); HRESULT get_GrabFocusOnConnect( [out] VARIANT_BOOL pfGrabFocusOnConnect );
Set this parameter to VARIANT_FALSE to disable the feature or VARIANT_TRUE to enable the feature. Setting this property to VARIANT_FALSE prevents the control from grabbing focus when connecting.
Returns S_OK if successful.
For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.
|Minimum supported client
|Minimum supported server
||Windows Server 2008
||IID_IMsRdpClientAdvancedSettings is defined as 3c65b4ab-12b3-465b-acd4-b8dad3bff9e2