SECCustomToolBar::RemoveButton

BOOLSECCustomToolBar::RemoveButton(intnIndex, BOOLbNoUpdate)

Removes a button from the toolbar.

Defined in: tbarcust.cpp

Return Value

BOOL True if this was the last button on the toolbar, and the toolbar was destroyed (note this will only happen with user created toolbars).

Parameters

nIndex

The zero based index of the button to delete.

bNoUpdate

True if RecalcLayout should NOT be invoked to resize the toolbar to allow for removed button, otherwise false.