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:

  1. Initialize the Toolbar handle.

  2. Create the Toolbar (as a vector toolbar).

  3. Set its position (optional).

  4. Make it visible (optional).

  5. Install it using LAutomation::SetToolbar.

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 LAutomation::GetToolbar.

To simulate a toolbar without actually using the toolbar provided by LEAD Automation, use LAutomation::GetCurrentTool and LAutomation::SetCurrentTool to get and set the current tool.

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C++ Class Library Help