Determines whether the specified button is enabled for mouse input.
#include "LtTLB.h"
L_LTTLB_API L_INT L_TBIsButtonEnabled (pToolbar, uButtonID, pfEnable);
Pointer to a toolbar handle.
Identifier of the button for which to retrieve the status.
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. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes |
To change the enabled status of a button, call L_TBSetButtonEnabled.
LTTLB
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
For an example, refer to L_TBSetButtonEnabled.