VCToggle


Version:

1.2

Description:

Toggles the state of a setting.

Declaration:

 

C/C++

extern "C" void WINAPI VCToggle(WORD id);

Delphi

procedure VCToggle(id: Smallint); stdcall;

ActiveX/COM

Sub Toggle(ByVal id As Integer)

Parameters:

id - the command id of the command to be toggled. See Additional Information section for a listing of native commands.

Notes:

This subroutine is valid only for toggle settings. VCToggle strictly toggles the command opposite of what it was previously, it will not explicitly toggle on or off.

See Also:

VCGetToggleState, VCSetToggleState, VCIsToggle