L_TBGetButtonChecked

Summary

Gets the selected (checked) button in the toolbar.

Syntax

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBGetButtonChecked(pToolbar, pnChecked)

Parameters

pTOOLBARHANDLE pToolbar

Pointer to a toolbar handle.

L_INT * pnChecked

Pointer to an integer variable to be updated with the identifier of the current selected (checked) button.

Returns

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

Comments

To set the selected button in the toolbar, call L_TBSetButtonChecked.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_TBSetButtonChecked.

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

LEADTOOLS Toolbar C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.