LAnnToolBar::SetButtonVisible

#include "ltwrappr.h"

virtual L_INT LAnnToolBar::SetButtonVisible(uButton, bVisible)

Shows or hides the specified tool on the annotation toolbar.

Parameters

L_UINT uButton

The constant that specifies the tool. For a list of possible values, refer to Annotation Toolbar Buttons.

L_BOOL bVisible

Flag that indicates whether to make the specified tool visible on the toolbar. Possible values are:

Value Meaning
TRUE Make the tool visible on the toolbar.
FALSE Make the tool invisible.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

When a tool is invisible, other tools in the toolbar are arranged so that no gaps are left, and so that their order is maintained (left-to-right and top-to-bottom, just as text would wrap).

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnToolBar::Create.

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

LEADTOOLS Raster Imaging C++ Class Library Help