SRGWizSheet::AddToComponentComboBox

voidSRGWizSheet::AddToComponentComboBox(LPCTSTRlpszName, SRGraphComponent*pc)

This function add the component to the graph and also add the name to the component combobox on the three pages of the wizard. This function will automatically add a suffix number to the name passed in. This means a name can be used repeatedly. However, the component passed in should be created from the heap memory NOT on the stack

Defined in: WizSheet.cpp

Return Value

void

Parameters

lpszName

The name user want to identify this component.

pc

The user created component to be added, must be created by new.