共用方式為


CFrameWnd::SetProgressBarState

Sets the type and state of the progress indicator displayed on a taskbar button.

void SetProgressBarState(
   TBPFLAG tbpFlags
);

Parameters

  • tbpFlags
    Flags that control the current state of the progress button. Specify only one of the following flags because all states are mutually exclusive: TBPF_NOPROGRESS, TBPF_INDETERMINATE, TBPF_NORMAL, TBPF_ERROR, TBPF_PAUSED.

Requirements

Header: afxwin.h

See Also

Reference

CFrameWnd Class