The CProgressCtrl class provides a small number of member functions to set the progress bar

xiaoxiao2021-03-06  36

The CPROGRESSCTRL class provides a small number of member functions to set the progress bar:

Void SetRange (int nlower, int Nupper); This function is used to set the range of progress bars. The parameters NLOW and NUPPER specify a minimum and maximum value, and the scope of the progress bar is 0-100.

INT setPos (INT NPOS); used to set the current progress of the progress bar. The function returned is the previous progress of the progress bar.

INT Stepit (); makes progressive steps, the step size is set by the setstep function, the default step size is 10. The function returns the previous progress of the progress bar.

INT setstep; used to set the step length. The function returns the original step size.

转载请注明原文地址:https://www.9cbs.com/read-55608.html

New Post(0)