2.2.6.33.15 WizardControl::ShowStep

Description

Shows[Hides] a step in the control

Syntax

int ShowStep( int nIndex, BOOL bShow = FALSE )

Parameters

nIndex
index of the step. When nIndex < 0, active is assumed
bShow
When true will make the step visible otherwise will hide it.

Return

returns the previous state of this step (0 = hidden, 1= show) or < 0 for error.

-1 if nIndex = 0, which is the Start step. You cannot control show/hide of this step

-2 if nIndex is the Finish step, again, cannot control show/hide of Finish step

Examples

Remark

See Also

Header to Include

Control.h