Share via


CMFCRibbonBar::CreateEx

Creates a window for the ribbon bar.

BOOL CreateEx(
   CWnd* pParentWnd,
   DWORD dwCtrlStyle = 0,
   DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP,
   UINT nID = AFX_IDW_RIBBON_BAR
);

Parameters

  • [in] pParentWnd
    Pointer to the parent window for the ribbon bar.

  • [in] dwCtrlStyle
    This parameter is not used.

  • [in] dwStyle
    A logical combination of styles for the new window.

  • [in] nID
    ID of the new window.

Return Value

TRUE if the window was created; otherwise FALSE.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart