L_TBGetButtonChecked

#include "LtTLB.h"

L_INT EXT_FUNCTION L_TBGetButtonChecked(pToolbar, pnChecked)

pTOOLBARHANDLEpToolbar;

/* pointer to a toolbar handle */

L_INT * pnChecked;

/* pointer to integer */

Gets the selected (checked) button in the toolbar.

Parameter

Description

pToolbar

Pointer to a toolbar handle.

pnChecked

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

Returns

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

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.

See Also

Functions:

L_TBSetButtonChecked

Topics:

Getting and Setting Toolbar Button Information

Example

For short example refer to L_TBSetButtonChecked.