IMsRdpClientAdvancedSettings::GrabFocusOnConnect property
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.
Syntax
HRESULT put_GrabFocusOnConnect(
[in] VARIANT_BOOL fGrabFocusOnConnect
);
HRESULT get_GrabFocusOnConnect(
[out] VARIANT_BOOL pfGrabFocusOnConnect
);
Property value
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.
Error codes
Returns S_OK if successful.
Remarks
For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Type library |
|
DLL |
|
IID |
IID_IMsRdpClientAdvancedSettings is defined as 3c65b4ab-12b3-465b-acd4-b8dad3bff9e2 |