VCGetDefaultTool
VCSetDefaultTool


Version:

1.2

Description:

The default drawing tool is pre-configured by the user and can be set to Single Line, Continuous Line or Selection.

Declaration:

 

C/C++

extern "C" WORD WINAPI VCGetDefaultTool(short* iError);
extern "C" void WINAPI VCSetDefaultTool(short* iError, WORD w);

Delphi

function VCGetDefaultTool(var iError: Smallint):Smallint; stdcall;
procedure VCSetDefaultTool(var iError: Smallint; w: Smallint); stdcall;

ActiveX/COM

Function GetDefaultTool() As Integer
Sub SetDefaultTool(ByVal i As Integer)

Parameters:

w - the tool index
 2102 - Single Line
 2103 - Continuous Line
 2449 - Select

Notes:

 

See Also:

VCGetCursorSize, VCLine, VCSelect