[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: modified status icons

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 02 Apr 2009 20:34:40 +0200

webpost_at_tigris.org wrote:
> I have been searching the net for so long but couldn't find any help.
>
>
> There are a lot of applications that show the preview of a file
> (3dsMax) as an icon of the saved file.
>
> Similar thing is done in tortoise SVN as it updates the icon for each
> file (Adds a green tick mark or red exclamation mark) according to
> the current modified status of the file.
>
> Can anyone please point me in some direction as how it can be
> implemented. I want to display a preview of my own format file as an
> icon.

TortoiseSVN uses overlay handlers. Those don't modifiy the original icon
at all.
What you're looking for is either a preview handler or an IExtractImage
handler:
http://www.codeproject.com/KB/shell/thumbextract.aspx
http://msdn.microsoft.com/en-us/library/bb761842(VS.85).aspx
http://msdn.microsoft.com/en-us/library/bb776867(VS.85).aspx

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1522505
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-04-02 20:35:28 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.