Help Center

CProgBar.IncPosmethod

Advances the current position for a progress bar by the specified increment.

WindowsmethodCProgBar.incdocumented

Syntax

FUNCTION IncPos (BYVAL hProgBar AS HWND, BYVAL nIncVal AS LONG) AS LONG

Parameters

NameDescription
hProgBarA handle to a progress bar.
nIncValSigned integer that becomes the new position. If nIncVal is outside the range of the control, the position is set to the closest boundary. Do not send this message to a control that has the PBS_MARQUEE style.

Description

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

Reference

  • Include file CProgBar.inc
  • Defined in AfxNova/CProgBar.inc:166
  • Documented in Windows/WIndows Controls/CProgBar.md
  • Topic: CProgBar Class