BCGSuite for MFC
void CBCGPFileDialog::AddNewItem ( LPCTSTR  lpszName,
int  iIconIndex 
)

Adds a new document type to be shown on the "New File" tab.

CBCGPFileDialog objects allow the user to open a new document from the list view control that displays a collection of document types.

Call this member function to add a new document type to be displayed in the list view control.

Parameters
lpszNameSpecifies the document name.
iIconIndexSpecifies the document icon index.