Results 1 to 4 of 4

Thread: Dropbox-like file status effect

  1. #1
    Join Date
    Feb 2010
    Location
    Poland
    Posts
    27
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Dropbox-like file status effect

    Hi. Is there anybody here who has used Dropbox.com tool for Windows? I'm talking about 'My Dropbox' folder, which is created after Dropbox installation. For example - file pasted to this folder at the beginning has on its icon something, which i can call "updating mark". In background file is uploading to Dropbox server, and after that - file has on its icon "ok mark".

    Here You can see how it looks like:


    Any ideas how to get this dropbox-like file status effect in my application? What about this functionality, but working with the folders too?

    Thanks for Your help,
    Mateusz


    Added after 8 minutes:


    I found something about 'Windows Explorer Third-Party Shell Extensions'. I think it's it. Have You got some good tutorial how to create own extension?
    Thanks.
    Last edited by produktdotestow; 6th March 2011 at 17:08.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Dropbox-like file status effect

    You are exactly right. This is done by implementing shell extensions.

    Firstly, you'll want to understand COM (Component Object Model) and how it works. Then you need to understand shell extensions, and then, finally, icon overlay handlers.

    A good introduction is on code project: http://www.codeproject.com/KB/shell/shellextguide1.aspx

    How to implement shell overlay icons is described here: http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx

    Note: The number of different icon overlay handlers that the system can support is limited by the amount of space available for icon overlays in the system image list. There are currently fifteen slots allotted for icon overlays, some of which are reserved by the system. For this reason, icon overlay handlers should be implemented only if there are no satisfactory alternatives. [Taken from MSDN. Copyright Microsoft]

  3. #3
    Join Date
    Feb 2010
    Location
    Poland
    Posts
    27
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Dropbox-like file status effect

    Thanks, it's really helpful for me

  4. #4
    Join Date
    Mar 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Dropbox-like file status effect

    How about the same feature for Mac osx finder integration?
    I am interested in implementing same for mac.

    Thanks for your help

Similar Threads

  1. Replies: 3
    Last Post: 8th July 2010, 07:41
  2. 3D Effect
    By andzoff in forum Qt Programming
    Replies: 2
    Last Post: 15th March 2010, 11:52
  3. QtWebKit Effect On File Size
    By bmn in forum Newbie
    Replies: 5
    Last Post: 16th September 2009, 17:00
  4. What's effect of QT_BEGIN_NAMESPACE? Thanks
    By mihayinoviki in forum Qt Programming
    Replies: 10
    Last Post: 19th August 2009, 19:21
  5. Help with a visual effect
    By SkripT in forum Qt Programming
    Replies: 25
    Last Post: 7th May 2006, 19:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.