L_TBIsButtonEnabled

Summary

Determines whether the specified button is enabled for mouse input.

Syntax

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBIsButtonEnabled (pToolbar, uButtonID, pfEnable);

Parameters

pTOOLBARHANDLE pToolbar

Pointer to a toolbar handle.

L_UINT uButtonID

Identifier of the button for which to retrieve the status.

L_BOOL * pfEnable

Pointer to a variable to be updated with a value that indicates whether the specified button is enabled or disabled. Possible values are:

Value Meaning
TRUE The specified button is enabled.
FALSE The specified button is disabled.

Returns

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

Comments

To change the enabled status of a button, call L_TBSetButtonEnabled.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_TBSetButtonEnabled.

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.