XnView needs the "My Places Bar" for Open and Save dialogs.
See screenshot...
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
helmut wrote:Will be added without discussion? Hmm. I haven't heard of "My Places Bar" before, is it a sort of standard thing?
Yeah sort of. It's really called just "Places Bar" I belive, cause modifying it (like in ckits pic) is hidden feature of windows... at least in win2k.
I am actually quite curious about how Pierre is going to work this out, since modifying the default open file dialog will cause windows automatically disable the "Places Bar" for backward compatibility (joys of coding). I have been trying to figure out, how to modify the open file dialog without loosing the "Places Bar" for some time now.
Pierre any change to get some sample code?
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options. UI-less Settings - Documentation of all the hidden settings in XnView. XFAM - Tool to create and customize XnView file associations.
It is very useful, I didn't know that I can add also custom paths/folders there.
It is possible with Tweak UI - Common dialogs.
I think there could be an option to enable/disable though.
There are 2 possibilities to implement ths feature:
- use original Windows dialog
- add "Places Bar" to XnView's dialog (but not sure if it would be possible to use the same folders as in original Windows dialog)
Now inside the PlacesBar key you can create String value entries like "C:\My Data" or DWord entries like 0x00000000 which is the Desktop. You only have the following names (Place0,Place1,Place2,Place3,Place4)
Google the web for more info, Microsoft has a page on it.
ckv wrote:
I am actually quite curious about how Pierre is going to work this out, since modifying the default open file dialog will cause windows automatically disable the "Places Bar" for backward compatibility (joys of coding). I have been trying to figure out, how to modify the open file dialog without loosing the "Places Bar" for some time now.
ckv wrote:
I am actually quite curious about how Pierre is going to work this out, since modifying the default open file dialog will cause windows automatically disable the "Places Bar" for backward compatibility (joys of coding). I have been trying to figure out, how to modify the open file dialog without loosing the "Places Bar" for some time now.
Pierre any change to get some sample code?
You must use the FlagEx in OPENFILENAME struct
Thank you. I knew that there is simple solution for this.
Dreamer wrote:It is very useful, I didn't know that I can add also custom paths/folders there.
It is possible with Tweak UI - Common dialogs.
I used Tweak UI, but there are many other tweak tools what can do this. Microsoft PowerToys for XP probably does the trick too.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options. UI-less Settings - Documentation of all the hidden settings in XnView. XFAM - Tool to create and customize XnView file associations.