Partager via


IMsTscAxEvents

This interface includes methods that receive information from the server that are related to client control events. Events include connecting and disconnecting, full screen mode requests, successful logon, and error conditions.

Methods

The IMsTscAxEvents interface contains the following methods.

  • IUnknown methods
  • IDispatch methods
  • IMsTscAxEvents methods

The following table shows the methods for the IMsTscAxEvents interface.

Method Description
OnConnecting Called when the client control begins connecting to a server in response to a call to the IMsTscAx::Connect method.
OnConnected Called when the client control is in the process of establishing a connection with a Terminal server.
OnLoginComplete Called when the client control has successfully logged on to a terminal server, following the display of the Windows Logon dialog box.
OnDisconnected Called when the client control has been disconnected from the terminal server.
OnWarning Called when the client requests entering full-screen mode and the IMsTscAdvancedSettings::put_ContainerHandledFullScreen method is called.
OnIdleTimeoutNotification Called when there has been no mouse or keyboard input by the user during the period of time set by IMsTscAdvancedSettings::put_MinutesToIdleTimeout.
OnRequestContainerMinimize Called when the user presses the minimize button on the connection bar in full-screen mode.
OnConfirmClose Called in response to the IMsRdpClient::RequestClose method, allowing a container application to prompt the user for confirmation before closing the connection.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

Remote Desktop ActiveX Control Interface

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.