IMsTscAxEvents::OnFocusReleased method

Called when the release focus key combination is pressed. For example, this event is called when the user presses the CTRL+ALT+LEFT ARROW or the CTRL+ALT+RIGHT ARROW key combination.

This event enables the ActiveX control container to take away control from the ActiveX control. For example, this is useful in a scenario where you do not have a mouse, and special key combinations such as ALT+TAB are being redirected to the server. In this case, you do not have a way to return the keyboard focus back to the local desktop. However, with the CTRL+ALT+LEFT ARROW or the CTRL+ALT+RIGHT ARROW key combination, the ActiveX container can listen for this event and respond by taking focus away from the ActiveX control.

Syntax

void OnFocusReleased(
  [in] INT iDirection
);

Parameters

iDirection [in]

The direction parameter of 1 (CTRL+ALT+RIGHT ARROW) or 1 (CTRL+ALT+LEFT ARROW).

Return value

This method does not return a value.

Remarks

This event is available when Remote Desktop Connection 6.0 is used on the client.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IMsTscAxEvents is defined as 336d5562-efa8-482e-8cb3-c5c0fc7a7db6

See also

IMsTscAxEvents