AuthenticDesktopControlDocument.QueryStatus

www.altova.com Imprimir este apartado Página anterior Subir un nivel Página siguiente

Inicio >  Referencia del programador > ActiveX Integration > Object Reference > AuthenticDesktopControlDocument > Methods >

AuthenticDesktopControlDocument.QueryStatus

Method: QueryStatus (nCmdID as long) as long

 

Dispatch Id: 9

 

Description:

QueryStatus returns the enabled/disabled and checked/unchecked status of the command specified by nCmdID. The status is returned as a bit mask.

 

 Bit        Value        Name                Meaning

 -----------------------------------------------------------------------------------------------------------------------

 0        1        Supported        Set if the command is supported.

 1        2        Enabled                Set if the command is enabled (can be executed).

 2        4        Checked        Set if the command is checked.

 

This means that if QueryStatus returns 0 the command ID is not recognized as a valid Authentic Desktop command. If QueryStatus returns a value of 1 or 5 the command is disabled. The client should call the QueryStatus method of the document control if there is currently an active document available in the application.

 


© 2019 Altova GmbH