IN_SetTool

image\bltlrgsq_shg.gif Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_SetTool function activates tools, as well as activates the commands that modify vector objects, in the specified document window.

Syntax

int IN_SetTool( docwinID, toolID )

Parameters

Values

Meaning

IN_DOCWIN docwinID

0 | docwinID

active | specific

ULONG toolID

IN_TOOL_*

tool to select

Remarks

An active edit layer must be present in the document window to select a tool. Only tools available in your edition of Imagenation can be selected.

Release information

Added to Imagenation for Windows in Release 4.10.

As of Release 5.1, also available in Imagenation for UNIX.

Also supported in Imagenation 3.3 for UNIX.

See also

Activating tools

Defining tools