Click to See Complete Forum and Search --> : Help: Saving different file types


plenTpak
August 9th, 1999, 03:18 PM
I did search this site so i hope i'm not repeating a common post:

I can't seem to figure out how to save in multiple name types in MFC's Save As dialog box. It only has the *.* All Files option and the option you put in during the beginning.

Any help would be appreciated, thanks. =)

(= plenTpak =)

August 9th, 1999, 03:45 PM
Try something like this:
CFileDialog dlg( true, ".doc", NULL,
OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST| OFN_ALLOWMULTISELECT ,
"Microsoft Word Files (*.doc)|*.doc|All Files (*.*)|*.*||" );