CCommandBar::InsertSeparator
Inserts a separator button on the command bar.
BOOL InsertSeparator(
int nWidth = 6,
WORD wButton );
Parameters
The following table describes the parameters for the InsertSeparator method of the CCommandBar Class.
nWidth
Specifies the width, in pixels, of the separator button.wButton
Specifies the zero-based index of a button in the command bar which is greater or equal to zero and less than the number of buttons in the bar. CMDBAR_END specifies the end of CommandBar.
Return Values
true if successful; otherwise, false.
Remarks
This method positions the separator in the button position indicated by wButton. A separator does not receive user input.
Requirements
Windows CE version 5.0 or later versions.
Header file: Declared in afxext.h.