• Advertisement

Archived

This topic is now archived and is closed to further replies.

CDialogFile Filter problem

This topic is 5233 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all, I am currently having a problem with the filter selection in the common dialog file filters, can anyone see why?? The code is CFileDialog oOpenFile(TRUE, NULL, NULL, OFN_FILEMUSTEXIST, "Resource Files *.txt \0*.*;\0\0"); While the filter is showing correctly, ie it shows "Resource Files *.txt" The dialog box does not actually perform the filtering action at all, ie it shows no files! Any ideas? Paul.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Try
CFileDialog oOpenFile(TRUE, NULL, NULL, OFN_FILEMUSTEXIST, "Resource Files\0*.txt\0All Files\0*.*\0\0";

Share this post


Link to post
Share on other sites

  • Advertisement