RemoteDesktopClient.OnKeyCombinationPressed event

[OnKeyCombinationPressed is no longer available for use as of Windows 10 and Windows Server 2016 Technical Preview.]

Called when special key combinations are pressed in the remote session.

Syntax

function handler(keyCombination) { /* Your code */ }
 
// attachEvent syntax
remoteDesktopClient.attachEvent("onkeycombinationpressed", handler);
remoteDesktopClient.detachEvent("onkeycombinationpressed", handler);

Event handler parameters

  • keyCombination
    Type: Number

    A value of the KeyCombinationType enumeration that specifies the key combination that was pressed.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

End of client support

Windows 8.1

End of server support

Windows Server 2012 R2

See also

RemoteDesktopClient