Udostępnij za pośrednictwem


CMFCStatusBar::SetPaneTextColor

Sets the text color of the specified pane.

void SetPaneTextColor(
   int nIndex,
   COLORREF clrText=(COLORREF)-1,
   BOOL bUpdate=TRUE 
);

Parameters

  • [in] nIndex
    Specifies the index of the pane to which you want to assign a new text color.

  • [in] clrText
    Specifies the text 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