REQ for My Places Bar support

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

REQ for My Places Bar support

Post by ckit »

XnView needs the "My Places Bar" for Open and Save dialogs.

See screenshot...
Image
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
User avatar
xnview
Author of XnView
Posts: 44448
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: REQ for My Places Bar support

Post by xnview »

ckit wrote:XnView needs the "My Places Bar" for Open and Save dialogs.

See screenshot...
Will be added
Pierre.
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

Huge thank you! :)
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: REQ for My Places Bar support

Post by helmut »

xnview wrote:
ckit wrote:XnView needs the "My Places Bar" for Open and Save dialogs.

See screenshot...
Will be added
Will be added without discussion? Hmm. I haven't heard of "My Places Bar" before, is it a sort of standard thing?
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: REQ for My Places Bar support

Post by ckv »

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? :wink:
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.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

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)

Pierre?
Dreamer
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

Ok, I'll try and teach you guys how to do it:

Open RegEdit and go to this key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

Create another key called "comdlg32" and then create another coming off that called "PlacesBar" so it should look like this....

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32\PlacesBar

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.
User avatar
xnview
Author of XnView
Posts: 44448
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: REQ for My Places Bar support

Post by xnview »

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? :wink:
You must use the FlagEx in OPENFILENAME struct :-)
Pierre.
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow

Re: REQ for My Places Bar support

Post by ckv »

xnview wrote:
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? :wink:
You must use the FlagEx in OPENFILENAME struct :-)
Thank you. I knew that there is simple solution for this. :mrgreen:

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.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: REQ for My Places Bar support

Post by Dreamer »

ckv wrote:I used Tweak UI, but there are many other tweak tools what can do this. Microsoft PowerToys for XP probably does the trick too.
Tweak UI is part of Microsoft PowerToys. :wink:
Dreamer