Help Center

CProgBar.SetStepmethod

Specifies the step increment for a progress bar.

WindowsmethodCProgBar.incdocumented

Syntax

FUNCTION SetStep (BYVAL hProgBar AS HWND, BYVAL nStepInc AS LONG) AS LONG

Parameters

NameDescription
hProgBarA handle to a progress bar.
nStepIncNew 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