files displayed on the CFileDialog
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I hav a class which derived from the CFileDialog. I gave OFN_ALLOWMULTISELECT option for that. I want to update the CfileDialog when I change the file extension. So I override the function OnTypeChange() in that ... I don't know what is the next..? How can I update the files displayed on the CFileDialog window, when i change the extension( file type ) ???? I just tried it...! CFileDialog is not updating that...!
CString szFilter = "AVI Files (*.AVI)|*.AVI|Bitmap Files (*.bmp)|*.bmp|All Files (*.*)|*.*||"; CFileDialog FileSelect( TRUE, NULL, NULL, OFN_ALLOWMULTISELECT, szFilter, this );
Dream bigger... Do bigger...Expect smaller aji