CMFCRibbonStatusBar::Create

Creates a ribbon status bar.

BOOL Create(
   CWnd* pParentWnd,
   DWORD dwStyle=WS_CHILD|WS_VISIBLE|CBRS_BOTTOM,
   UINT nID=AFX_IDW_STATUS_BAR 
);

Parameters

  • [in] pParentWnd
    A pointer to the parent window.

  • [in] dwStyle
    A logical OR combination of control styles.

  • [in] nID
    The control ID of the status bar.

Return Value

TRUE if the status bar is created successfully, FALSE otherwise.

Requirements

Header: afxribbonstatusbar.h

See Also

Reference

CMFCRibbonStatusBar Class

Hierarchy Chart