BCGControlBar Pro for MFC
virtual BOOL CBCGPRibbonPanel::InsertSeparator ( int  nIndex,
BOOL  bVisible = TRUE 
)
virtual

Inserts a separator at the given position.

Returns
Non-zero if the separator has been inserted successfully; otherwise FALSE.

Use this method to insert a separator at the position specified by nIndex.

Parameters
nIndexSpecifies zero-based index to insert the separator at.
bVisibleSpecifies whether separator is visible or not. Invisible separator occupies the same space as visible and intends for the controls layout customization.