#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnSetToolBarColumns(hwndToolBar, uColumns)

Sets the number of columns in the toolbar.


HWND hwndToolBar

Window handle for the toolbar. You get the window handle when you create the toolbar using the L_AnnCreateToolBar function.

L_UINT uColumns

Number of columns to set in the toolbar.


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


If uColumns is greater than the number of buttons in the toolbar, the number of columns in the displayed toolbar will be equal to the number of buttons.

Required DLLs and Libraries


Win32, x64.

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

LEADTOOLS Raster Imaging C API Help