LToolbar::EnableToolbarCallBack

Summary

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

Syntax

#include "ltwrappr.h"

L_BOOL LToolbar::EnableToolbarCallBack (bEnable)

Parameters

L_BOOL bEnable

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

Returns

Value Meaning
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

See Also

Functions

Topics

Example

For an example, refer to LToolbar::ToolBarCallBack.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Toolbar C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.