Partager via


CMFCStatusBar::SetPaneProgress

Set the current progress indicator of the progress bar for the specified pane.

void SetPaneProgress(
   int nIndex,
   long nCurr,
   BOOL bUpdate=TRUE 
);

Parameters

  • [in] nIndex
    Specifies the index of the pane for which to update the progress indicator.

  • [in] nCurr
    Specifies the current value of the progress indicator.

  • [in] bUpdate
    Specifies whether the pane should be updated immediately.

Remarks

Call this method when you want to update the progress indicator for the progress bar in the specified pane.

To use this function for the given pane, you must call CMFCStatusBar::EnablePaneProgressBar first.

Requirements

Header: afxstatusbar.h

See Also

Reference

CMFCStatusBar Class

Hierarchy Chart