Поделиться через


CProgressCtrl::StepIt

Advances the current position for a progress bar control by the step increment and redraws the bar to reflect the new position.

int StepIt( );

Возвращаемое значение

The previous position of the progress bar control.

Заметки

The step increment is set by the CProgressCtrl::SetStep member function.

Пример

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