XLL+ Class Library (6.3)

CXlToolbar::AddSeparator

Adds a new separator to a toolbar

static BOOL AddSeparator(
   const TCHAR* 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