L_TBInit

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBInit(ppToolbar )

ppTOOLBARHANDLE ppToolbar;

/* pointer to a pointer to a toolbar handle */

Initializes the toolbar handle.

Parameter

Description

ppToolbar

Pointer to a pointer to the toolbar handle to be initialized.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes

Comments

This function must be called before calling any other toolbar functions.

A toolbar handle will be valid after this function is called. However, L_TBCreate must be called in order to call 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_TBFree, L_TBCreate

Topics:

Initializing and Freeing Toolbars

Example

For an example, refer to L_TBCreate.