Help Center

CToolbar.AddSeparatormethod

Adds a separator to a toolbar.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION AddSeparator (BYVAL hToolbar AS HWND, BYVAL nWidth AS LONG = 0) AS BOOLEAN

Parameters

NameDescription
hToolbarHandle to the toolbar control.
nWidthWidth of the separator, in pixels

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Adds a separator to a toolbar.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:253
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class