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

Inserts a separator at the given position.

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

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

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