BCGControlBar Pro for MFC
int CBCGPFileDialog::GetNewItemIndex ( ) const
inline

Returns the index of the selected item in the "New" tab of the file open dialog.

Returns
The zero-based index of the selected item, or -1 if there is no item selected.

Call this member function to retrieve the index of the currently selected item in the "New" tab of the file open dialog box. This index corresponds to the selected document type.

You should call this function only if GetPage() function has returned CBCGPFileDialog::BCGPFileNew value that indicates the user wants to open a new document.