SECCustomStatusBar::InitializeProgressControl

BOOLSECCustomStatusBar::InitializeProgressControl(LPCTSTRpcszMsg, intiLow= 0, intiHigh= 100, BOOLbResetPos= TRUE, DWORDdwExStyle= SEC_EX_PROGRESS_DEFAULTS, intnStep= 10)

Initializes and shows the progress indicator.

Defined in: sbarcust.cpp

Return Value

Nonzero if the progress control was created, initialized and shown successfully. Otherwise, the function returns 0.

Parameters

pcszMsg

A message to display to the left of the progress indicator.

Comments

Call this member function to initialize and show the progress indicator. The progress indicator is given a progress range of iLow to iHigh. Also, the string specified by pcszMsg is drawn immediately to the left of the progress indicator. The purpose of this string is to give the user a description of what task the indicator is showing progress of.

iLow

The floor of the progress range.

iHigh

The ceiling of the progress range.

bResetPos

If current progress value is reset to iLow.

dwExStyle

The desired  SECProgressCtrl style

nStep

The desired step size.

See Also

SECCustomStatusBar  UninitializeProgressControl  StepProgress  SetProgress