Click to See Complete Forum and Search --> : GetFileExt() ;


jakapun
April 24th, 1999, 02:40 PM
I need name Extension (GetFileExt()) after save file by use CommonDiag save for write program.
Please answer me urgent.
Thank you very much.

April 28th, 1999, 12:54 AM
CFileDialog fDlg(TRUE);
fDlg.m_ofn.Flags |= OFN_ALLOWMULTISELECT;
fDlg.DoModal();
CString strFile= fDlg.GetFileExt( );
POSITION pos=fDlg.GetStartPosition( );
while(pos!=NULL)
CString strFn=fDlg.GetNextPathName(pos);