LAutomation::GetCurrentTool

Summary

Manually sets the current tool in an automation handle without using the toolbar.

Syntax

#include "ltwrappr.h"

L_INT LAutomation::GetCurrentTool(pnTool)

Parameters

L_INT *pnTool

Pointer to a variable to be updated with the current tool id. For more information about tools, tool identifiers and toolbar buttons, refer to the LEADTOOLS Toolbar C++ Class Library help.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This function lets you simulate a toolbar, instead of using one provided by LEAD Automation.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LAutomation::SetCurrentTool.

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

LEADTOOLS Container and Automation C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.