CProgBar.SetStepmethod
Specifies the step increment for a progress bar.
Syntax
FUNCTION SetStep (BYVAL hProgBar AS HWND, BYVAL nStepInc AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hProgBar | A handle to a progress bar. | |
nStepInc | New step increment. |
Return value
Returns the previous step increment.
Description
Specifies the step increment for a progress bar. The step increment is the amount by which the progress bar increases its current position whenever it receives a PBM_STEPIT message. By default, the step increment is set to 10.
Reference
- Include file
CProgBar.inc - Defined in AfxNova/CProgBar.inc:267
- Documented in Windows/WIndows Controls/CProgBar.md
- Topic: CProgBar Class