Search code examples
c#tortoisesvnhookoverlaydropbox

How to use the registered shell overlay icon from TortoiseSVN in my c# app


tortoiseSVN and Dropbox come up with a hook that display an overlay icons on files.
when a file status changed, the hook handle this change and change the overlay icon.

this hook is in ShellOverlayIcon in the registry and it used like the windows shortcut arrow icon when shortcut is created.

Can i use those hook handler in my c# app ?

Can i change a flag of file to marked as SVNchange flag so TortoiseSvn icon handler will change automatically the icon of the file ?

if yes can you provide an example (in c#)


Solution

  • After regarding some solution ive found "TortoiseOverlays" projects that used in TortoiseSvn project
    here is my another question to resolve the usage of this hooks How to use TortoiseOverlays with my own handler