StyleVisionControl.QueryStatus Imprimir este apartado Página anterior Subir un nivel Página siguiente

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


Method: QueryStatus (nCmdID as long) as long


Dispatch Id: 7



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 StyleVision command. If QueryStatus returns a value of 1 or 5, the command is disabled.


© 2019 Altova GmbH