LToolbar::EnableToolbarCallBack

#include "ltwrappr.h"

L_BOOL LToolbar::EnableToolBarCallBack (bEnable)

L_BOOL bEnable;

/* flag*/

Enables or disables the Toolbar callback function to be used by the user. Returns the last enable state.

Parameter

Description

bEnable

TRUE value enables the toolbar callback function. FALSE value disables the toolbar callback function.

Returns

TRUE

The callback function was previously enabled.

FALSE

The callback function was previously disabled.

Comments

The LToolbar::ToolBarCallBack function is called for each event that occurs in the toolbar.

To receive notification of toolbar events, you must derive a class from LToolbar and override the LToolbar::ToolBarCallBack function. In addition, the use of the callback function must be enabled by calling LToolbar::EnableToolBarCallBack.

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:

LToolbar::ToolBarCallBack, Class Members

Topics:

Receiving Toolbar Events

Example

For an example, refer to LToolbar::ToolBarCallBack.