LAnnToolBar::GetToolBarButtons

#include "ltwrappr.h"

virtual L_INT LAnnToolBar::GetToolBarButtons(pButtons, uStructSize, puButtons)

Retrieves information about the buttons in the annotation toolbar.

Parameters

pANNBUTTON pButtons

Pointer to an array of ANNBUTTON structures to be updated with information about the buttons in the annotation toolbar.

L_UINT uStructSize

Size in bytes, of the structure pointed to by pButtons, for versioning. Use sizeof(ANNBUTTON).

L_UINT * puButtons

Address of a variable to be updated with the number of buttons in the toolbar (number of entries in the pButtons array).

Returns

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

Comments

Call this function once, with pButtons set to NULL. This will retrieve the number of buttons in the toolbar, updating puButtons. Next, allocate the appropriate amount of memory for the pButtons array, and call this function again to retrieve the button information.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnToolBar::FreeToolBarButtons.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.