The Automation Toolbar

To complete the Automation components the user should initialize, create and install the LEAD Toolbar into the automation.

To install the toolbar into Automation use the following steps:

Initialize the Toolbar handle.

Create the Toolbar (as a vector toolbar).

Set its position (optional).

Make it visible (optional).

Install it using L_AutSetToolbar.

 

After installing the toolbar, the toolkit will automatically set mouse cursors, handle any needed visual feedback from the drawing process, etc, according to the currently selected tool.

To get the current toolbar, use L_AutGetToolbar.

To simulate a toolbar without actually using the toolbar provided by LEAD Automation, use L_AutGetCurrentTool and L_AutSetCurrentTool to get and set the current tool.

See Also

Implementing Toolbars - Initializing, Creating and Freeing

Changing the Toolbar State

Changing the Toollbar Button State

Receiving Toolbar Events