I want to develop an application that works in all three versions of Windows XP, Vista and 7. The application allows people to select files to open and allows them to save files after some operations. Each of the three versions of Windows has a different "Open File" dialog box style. Although XP uses GetOpenFileName with the OPENFILENAME structure, it is suggested to use the "General File Dialog" with Vista and Windows 7. I can make the file dialog in the proposed style work for every other version of the OS. However, I would like to make sure that my application opens different dialog box styles for each version. I do not want to create separate binaries for different versions of Windows.
Is it possible that this logic is built into the application, that is, allow it access to the open dialog box of an open file, on the basis of which the OS is launched.
Thank,
Abhijit
source
share