CCeCommandBar::InsertSeperator

This method inserts a separator button on the command bar. A separator provides a small gap between button groups. It does not receive user input.

At a Glance

Header file: Wcebar.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later

Syntax

BOOL InsertSeparator(int nWidth = 6, int nButton = CMDBAR_END);

Parameters

nWidth
Width, in pixels, of the separator button.
nButton
Zero-based index of a button in the command bar.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This method places the separator in the button position indicated by nButton.