Icon Overlays and TortoiseSVN 1.5

Please check the FAQ (http://www.xyplorer.com/faq.php) before posting a question...

Re: Icon Overlays and TortoiseSVN 1.5

Postby admin » 09 Feb 2012 17:41

j_c_hallgren wrote:
admin wrote:Yes, "Overlay" for example.
Exactly! But since it's a very narrow field, maybe "Ovl" so no excess space -- unless you plan to have multiple icons side-by-side?

Yep, although "Ovl" looks a bit stupid. But, let's not continue discussing this before I decide to make the column... ;)
admin
Site Admin
 
Posts: 33254
Joined: 22 May 2004 15:48
Location: Cologne

Re: Icon Overlays and TortoiseSVN 1.5

Postby TheQwerty » 09 Feb 2012 17:56

admin wrote:I don't know a way to get more than one overlay information. Windows clearly states one overlay (or none). The negotiation is done before the results are fed to the API.
Yeah, I don't know how it could be achieved either. It's a shame because Microsoft keeps complaining in their blog posts about how overlays kind of suck since they can only relay 1 detail about a file, but they don't provide a way to get around this limitation either. This is why they continue to mention adding or using columns instead.

admin wrote:Conc. the column: I surely plan to add shell columns but this is a big feature (in the sense of: a lot of tricky work, and probably a long debug phase).
But: if sorting is not that important I could quite quickly add an option to draw the normal icon column (after widening it by 16 pixels) so that the overlay is drawn on the left and the icon on the right. Would that help? (Advantage: the same method could also be applied to non-Details views)
Interesting thought, not sure if left or right of file icon makes more sense but it could be a good approach.

Though it might be a bit ugly if you don't ensure that the file icons and names are still aligned in a grouping of files with and without overlays.
TheQwerty
 
Posts: 3237
Joined: 03 Aug 2007 21:30

Re: Icon Overlays and TortoiseSVN 1.5

Postby j_c_hallgren » 09 Feb 2012 22:29

TheQwerty wrote:
admin wrote:But: if sorting is not that important I could quite quickly add an option to draw the normal icon column (after widening it by 16 pixels) so that the overlay is drawn on the left and the icon on the right. Would that help? (Advantage: the same method could also be applied to non-Details views)
Interesting thought, not sure if left or right of file icon makes more sense but it could be a good approach.

Though it might be a bit ugly if you don't ensure that the file icons and names are still aligned in a grouping of files with and without overlays.
Agree that as long as overlays and icons are lined up in sub-columns, this approach should work as a interim solution and would help make the actual icons clearer without them being overlaid...and the fact that it works in non-Details is definitely good.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
j_c_hallgren
XY Blog Master
 
Posts: 5796
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL

Re: Icon Overlays and TortoiseSVN 1.5

Postby admin » 10 Feb 2012 11:47

I spoke too soon: I don't find a way to retrieve the position of the overlays in the system image list.

After you browsed a location with overlays, you will see the overlays at random positions in this list (only Windows knows where which icon is positioned and why) running this script:
Code: Select all
::sysicons;

I'm not aware of any API that tells me the position of the 15 possible overlays.
admin
Site Admin
 
Posts: 33254
Joined: 22 May 2004 15:48
Location: Cologne

Re: Icon Overlays and TortoiseSVN 1.5

Postby TheQwerty » 10 Feb 2012 12:49

admin wrote:I'm not aware of any API that tells me the position of the 15 possible overlays.
Anything in SHGetIconOverlayIndex or IShellIconOverlay help?
TheQwerty
 
Posts: 3237
Joined: 03 Aug 2007 21:30

Re: Icon Overlays and TortoiseSVN 1.5

Postby admin » 10 Feb 2012 12:54

TheQwerty wrote:
admin wrote:I'm not aware of any API that tells me the position of the 15 possible overlays.
Anything in SHGetIconOverlayIndex or IShellIconOverlay help?

Nope.
admin
Site Admin
 
Posts: 33254
Joined: 22 May 2004 15:48
Location: Cologne

Re: Icon Overlays and TortoiseSVN 1.5

Postby TheQwerty » 10 Feb 2012 12:58

http://msdn.microsoft.com/en-us/library ... 85%29.aspx IShellIconOverlayManager?

EDIT: How obtuse of me... completely ignoring that these are all interfaces you'd need to implement, huh? :oops:
TheQwerty
 
Posts: 3237
Joined: 03 Aug 2007 21:30

Re: Icon Overlays and TortoiseSVN 1.5

Postby janaka » 29 Feb 2012 12:57

Got to Tools->configuration->Advance
check "Show Icon Overlays"
janaka
 
Posts: 1
Joined: 29 Feb 2012 12:43

Previous

Return to Tips & Tricks, Questions & Answers



Who is online

Users browsing this forum: FluxTorpedoe and 3 guests