CProgressCtrl::StepIt

通过一系列步骤增量提升进度栏控件的当前位置并重画该线条反映新位置。

int StepIt( );

返回值

进度栏控件的前面的位置。

备注

步骤递增由 CProgressCtrl::SetStep 成员函数上设置。

示例

CProgressCtrl myCtrl;

// Create a child progress control.
myCtrl.Create(WS_CHILD|WS_VISIBLE, CRect(10,10,200,30), pParentWnd, 
   IDC_PROGRESSCTRL);

// Advance the position to the next step.
myCtrl.StepIt();   

要求

Header: afxcmn.h

请参见

参考

CProgressCtrl::SetPos

CProgressCtrl::SetRange

CProgressCtrl::SetStep