LAutomation::GetCurrentTool
#include "ltwrappr.h"
L_INT LAutomation::GetCurrentTool(pnTool)
L_INT *pnTool; |
/* pointer to an integer */ |
Manually sets the current tool in an automation handle without using the toolbar.
Parameter |
Description |
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 Lttbdlln.chm help file. |
Returns
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
LTAUT For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Functions: |
LAutomation::SetCurrentTool, LAutomation::SetToolbar, LAutomation::GetToolbar |
Topics: |
Example
For an example, refer to LAutomation::SetCurrentTool.