# WizardControl::InsertStep

## Description

Inserts a step at the specified index of the control. If nIndex < 0 , adds it to the end. Inserted item will be visible and enabled, Must be attached.

## Syntax

int InsertStep( LPCSTR stepLabel, LPCSTR comboString = NULL, int nIndex = -1 )


## Parameters

stepLabel
the label for the particular step added
comboString
'|' separated choices for the combo to be created for this step. If NULL (default) no combo box is added.
nIndex
index of the step to be inserted

## Return

returns the index of the new step that was added