CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2009
    Posts
    11

    C++ Icon overlay

    Hi,

    I would like to set Icon overlay on the files/folders under a particular folder. But I am not sure how to do it. I have attached a sample JPEG Image with this thread.

    Please check the image and let me know, is there a way to perform it via C++ and winapis with out MFC or it need MFC programming.

    Also, if possible please provide me a sample code to do it.

    Thanks in Advance.
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2010
    Posts
    76

    Re: C++ Icon overlay

    Well I have no idea on how you would do something like that but I may be able to tell you which program you need to get access to, to do that.

    Also correct me if I'm wrong


    From what I saw anything on the computer, Open windows with icons, icons on desktop and etc
    are all from explorer.exe. and when I say explorer I mean explorer is what displays them from what I see. if you ended the explorer process, the only thing you could do is to open programs using task manager. If you tried to open anything else that requires explorer say my documents folder, explorer would then start back up.

    The only other way you can see icons without explorer is if you used a open/save dialog from programs like mspaint or task manager.

    The programs them selves if I'm not mistaken uses apis to create the dialogs and display icons that way also.


    If you would like to try it out, I've done this on XP, 2k and vista open up taskmanager->processes->explorer.exe->end process.

    Now your only left with taskmanage, you might feel the window 3.1 look now lol.

    Now use task manage to open up programs. Also try to open up c:\ and and you will see what I mean.

    again if I'm wrong please correct me. I'm only saying on what I have seen on my PC before.

  3. #3
    Join Date
    May 2002
    Location
    Lindenhurst, NY
    Posts
    867

    Re: C++ Icon overlay

    Try googling these phrases:
    'Win32 icon overlay'
    'MFC icon overlay'
    'how to icon overlay'

  4. #4
    Join Date
    May 2009
    Posts
    11

    Re: C++ Icon overlay

    Hi,

    I hope we can do it by follow the below link...

    http://www.codeproject.com/KB/shell/...52&tid=3373252

    Going to try that.

    thanks

  5. #5
    Join Date
    Feb 2012
    Posts
    2

    Re: C++ Icon overlay

    Hi All,

    Does anybody has any solution to the problem mentioned above?
    I have the same requirement.
    Can anyone provide some help urgent?

    thanks

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: C++ Icon overlay

    Doesn't the solution suggest in the Codeproject article (see the link given by rahul123) work for you?
    Victor Nijegorodov

  7. #7
    Join Date
    Feb 2012
    Posts
    2

    Re: C++ Icon overlay

    No It doesn't work for me. I tried registering the DLL in 64 and 32 bit version of windows. But it doesn't work. Nothing happenst

  8. #8
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: C++ Icon overlay

    Quote Originally Posted by abhiechopra View Post
    No It doesn't work for me. I tried registering the DLL in 64 and 32 bit version of windows. But it doesn't work. Nothing happenst
    Which step of the three does not work for you?
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured