XLL+ Class Library

CXlToolbar::AddSeparator

Adds a new separator to a toolbar

[C++]
static BOOL AddSeparator(
   const char* pszToolbarName,
   short int nPosition
);
static BOOL AddSeparator(
   short int nToolbarID,
   short int nPosition
);

Parameters

pszToolbarName

The name of the toolbar.

This argument can contain a resource ID string. This will be replaced at run-time by a string loaded from the resource file in the current preferred language, as returned by XllGetStringLanguageID.

nPosition

The desired index of the separator within the toolbar.

nToolbarID

The unique identifier of the toolbar.

Return value

Returns TRUE if the tool was successfully added, and FALSE if the function failed.

Remarks

Adds a separator to a toolbar.

Requirements

Header: xltoolbar.h

See Also

CXlToolbar Class | CXlToolbar Methods