i am using CFileDialog for Open file dialog. But it is not showing all the filter name in the (files of type) dropdown box. Actually this problem is only with Win. XP and the same code is working fine with Win 7.
The code is
CFileDialog oFileDlg(TRUE, NULL, NULL, OFN_EXPLORER | OFN_ALLOWMULTISELECT , _T("_T("Media Files (*.mgf;*.bmp;*.jpg;*.gif;*.tga;*.png;*.mif;*.tif;*.wbmp;*.tiff;*.bmi;*.paj;*.mat;*.jpeg;*.asf;*.avi;*.dat;*.divx;*.flv;*.m1v;*.m2v;*.m2p;*.m2t;*.m2ts;*.m4v;*.mkv;*.mov;*.mp1;*.mp2;*.mp4;*.mpeg;*.mpg;*.mpv;*.mts;*.mxf;*.swf;*.vob;*.wmv)|*.mgf; *.bmp; *.jpg; *.gif; *.tga; *.png;*.wbmp;*.tiff;*.bmi;*.paj;*.mat;*.jpeg;*.asf;*.avi;*.dat;*.divx;*.flv;*.m1v;*.m2v;*.m2p;*.m2t;*.m2ts;*.m4v;*.mkv;*.mov;*.mp1;*.mp2;*.mp4;*.mpeg;*.mpg;*.mpv;*.mts;*.mxf;*.swf;*.vob;*.wmv"), NULL);
any help will be appreciated.
Thank you in advance.