Gets the selected (checked) button in the toolbar.
#include "LtTLB.h"
L_LTTLB_API L_INT L_TBGetButtonChecked(pToolbar, pnChecked)
Pointer to a toolbar handle.
Pointer to an integer variable to be updated with the identifier of the current selected (checked) button.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes |
To set the selected button in the toolbar, call L_TBSetButtonChecked.
LTTLB
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer toFiles To Be Included With Your Application.
For an example, refer to L_TBSetButtonChecked.