CMFCRibbonSeparator::CMFCRibbonSeparator
Constructs a CMFCRibbonSeparator object.
CMFCRibbonSeparator(
BOOL bIsHoriz = FALSE
);
Parameters
- [in] bIsHoriz
If TRUE, the separator is horizontal; if FALSE, the separator is vertical.
Remarks
Horizontal separators are used in application menus. Vertical separators are used in toolbars.
Example
The following example demonstrates how to construct an object of the CMFCRibbonSeparator class.
// CMFCRibbonMainPanel* pMainPanel
pMainPanel->Add(new CMFCRibbonSeparator(TRUE));
Requirements
Header: afxbaseribbonelement.h