I am creating a MFC application using VS2010 on WinXP.
i am using CFileDialog with Preview functionality while opening a file.It is working Fine in WinXP but in Win7,it is not showing any preview.
Do i need to change in MFC header Files? As I Found that,we need to chahnge #define WINVER to 0X501 from 0X00600. But I didnt get any clear result.
I derived class CFileDialog and Customize File Open Dialog by adding Preview option in OpenDialog[flags used OFN_ENABLETEMPLATE].
But this is not working in Win7.
I found on net tht we need to use Common File Dialog to Customize open File dialog in Windows7. But there should be way for Existing Applications which is using CFileDialog.