Applies to: desktop apps only
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
|
Minimum supported client
| Windows XP |
|
Minimum supported server
| Windows Server 2003 |
|
IID
|
IID_IMsRdpClientAdvancedSettings is defined as 3c65b4ab-12b3-465b-acd4-b8dad3bff9e2
|
See also
-
IMsRdpClientAdvancedSettings2
-
IMsRdpClientAdvancedSettings3
-
IMsRdpClientAdvancedSettings4
-
IMsRdpClientAdvancedSettings5
-
IMsRdpClientAdvancedSettings
Send comments about this topic to Microsoft
Build date: 3/7/2012