View Single Post
Old 18th October 2017, 18:41   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Provided that the dialog layout is stored as a resource in the resource section of the PE file, you might be able to do something with ResourceHacker:
http://www.angusj.com/resourcehacker/

However, I think that "file selection" dialogs are usually standard dialogs. For this kind of dialogs you won't find any resources in the PE file. Showing a standard file open dialog is pretty much just a single API call and all the details (layout, etc) are hidden in the system libraries, e.g. Comctl32.dll. So, in order to "upgrade" to a newer file open dialog, you would probably have to hack the code to call a different API function, or pass different flags, or link against a different library.

Anyhow, which version of Common Controls (Comctl32.dll) an application will use is controlled by the applications manifest - which is also stored in the resource section of the PE file. Thus, by "implanting" the right Manifest, you may be able to trick the program into using a newer version of Comctl32.dll. This is also required to enable the "visual styles" of Windows XP and later. But, of course, it can have some unexpected side-effects...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 18th October 2017 at 19:07.
LoRd_MuldeR is offline   Reply With Quote