L_TBIsValid

#include "LtTLB.h"

L_INT EXT_FUNCTION L_TBIsValid(pToolbar )

pTOOLBARHANDLE pToolbar;

/* pointer to a toolbar handle */

Determines the validity of the given toolbar handle.

Parameter

Description

pToolbar

Pointer to a toolbar handle.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes

Comments

The toolbar handle will be valid after calling L_TBInit. However, L_TBCreate must be called before calling any other Toolbar functions.

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_TBInit, L_TBCreate, L_TBFree.

Topics:

Initializing and Freeing Toolbars

Example

For an example, refer to L_TBCreate.