L_TBGetButtonChecked

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBGetButtonChecked(pToolbar, pnChecked)

pTOOLBARHANDLE pToolbar;

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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Toolbar C API Help