CFileDialog with preview working in Xp but not in Win7
-
Hello Friends 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. Any Ideas? Regards Yogesh Sikri
-
Hello Friends 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. Any Ideas? Regards Yogesh Sikri
-
Version for Windows 7 is 0x0601, but that will not necessarily fix the problem. I'm also not sure what you mean by Preview in this context (not used MFC for a while).
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. Regards Yogesh
-
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. Regards Yogesh
-
yogeshs wrote:
I derived class CFileDialog and Customize File Open Dialog
Then you need to debug your custom code.
-
I debug My Code In Win7 too and its working Fine. The prob is tht Open Dialog in Win7 is not resizing.Then Only Preview Window will Appear.How can I Achieve that ? Y