L_TBSetToolbarInfo

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBSetToolbarInfo(pToolbar, pToolbarInfo )

pTOOLBARHANDLE pToolbar;

/* pointer to a toolbar handle */

pLTOOLBARINFO pToolbarInfo;

/* pointer to a structure */

Sets the toolbar information.

Parameter

Description

pToolbar

Pointer to a toolbar handle.

pToolbarInfo

Pointer to an LTOOLBARINFO structure that contains the information that will be used to set the toolbar information.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes

Comments

This function may be used to assign information to a toolbar created using the TOOLBAR_EMPTY flag in the L_TBCreate function, or it may be used to modify an existing toolbar.

To get the current toolbar information, call L_TBGetToolbarInfo.

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_TBGetToolbarInfo, L_TBFreeToolbarInfo

Topics:

Getting and Setting Toolbar Information

Example

For an example, refer to L_TBGetToolbarInfo.