How to overlay an icon like the tick sync in Dropbox?

4

0

How exactly do you overlay an icon? Like a shortcut icon on Windows?

For example, Dropbox overlayed the icons on the files and folders with a tick sign, indicating that they are in sync with the Dropbox servers.

folders/files with Dropbox tick icons - dropbox.com

user824294

Posted 2012-02-14T11:22:43.200

Reputation: 215

Do you want to implement something similar, or are you just curious? – slhck – 2012-02-14T11:26:32.657

Just curious of how is it done. Does it mean it is not a real question? – user824294 – 2012-02-14T11:27:46.377

This might be better as an SO question: http://www.codeproject.com/Articles/7484/How-to-overlay-an-icon-over-existing-shell-objects

– Paul – 2012-02-14T11:36:36.233

Answers

3

For Microsoft Windows, MSDN describes the process of doing this here.

I found that part of the implementation is in the registry, but it takes much more than just creating registry keys and values to have your own similar overlay implementation. Dropbox may be actively determining what overlay icons to display while it is continually running in the background, using techniques similar to the Code Project linked by Paul (at least in Windows version of Dropbox).

If you're interested in removing the green check-marks (you only want other status icons like blue sync), you can find solutions for doing it in Windows, Mac and Linux here. It is from here that I partly found out how Dropbox is implementing the overlays.

ADTC

Posted 2012-02-14T11:22:43.200

Reputation: 2 649

How about Mac or Linux? – fatuhoku – 2013-10-06T12:33:41.250

1

Dropbox lets you use custom status icons for Dropbox.

Here's for Mac:

Copy .ICNS icons to Dropbox contents in Applications.

– Go to Macintosh, then Applications and right click on the Dropbox app icon;

– Select 'Show Package Contents'. When you open Contents, choose Resources folder;

– Copy new (icns) images there and confirm replacement;

– Reboot and launch Dropbox (tested on 10.8.5 and Mavericks)

I put some free icon sets on Gumroad. You'll find a step-by step guide to saving .ICNS files there too.

gum.co/icns

Alice

Alice Tribuleva

Posted 2012-02-14T11:22:43.200

Reputation: 11