Compartilhar via


CMFCStatusBar::SetPaneBackgroundColor

Sets the background color of the status bar pane.

void SetPaneBackgroundColor(
   int nIndex,
   COLORREF clrBackground=(COLORREF)-1,
   BOOL bUpdate=TRUE 
);

Parameters

  • [in] nIndex
    Specifies the index of the pane for which to set a new background color.

  • [in] clrBackground
    Specifies the new background color.

  • [in] bUpdate
    If TRUE, update the pane content immediately. Otherwise, do not update the pane content until the pane is invalidated by another method.

Requirements

Header: afxstatusbar.h

See Also

Reference

CMFCStatusBar Class

Hierarchy Chart