To complete the Automation components the user should initialize, create and install the LEAD Toolbar into the automation.
To install the toolbar into Automation perform 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 (depending on which tool is selected), automatically set mouse cursors, handle any needed visual feedback from the drawing process, etc.
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.