VCIsToggle


Version:

1.2

Description:

Returns a true or false value based on whether the command is a toggle setting.

Declaration:

 

C/C++

extern "C" vbool WINAPI VCIsToggle(WORD id);

Delphi

function VCIsToggle(id: Smallint):Wordbool; stdcall;

ActiveX/COM

Function IsToggle(ByVal id As Integer) As Integer

Parameters:

id - the command id for which the inquiry is made (see the Additional Information section for command ids).
returns
- integer representing true or false.
0 is false.
1 is true.

Notes:

Several settings in Visual CADD™ are toggles, that is they are either on or off. VCIsToggle checks the command to verify whether it is a toggle or not.

See Also:

VCGetToggleState, VCSetToggleState, VCToggle