Results 1 to 32 of 32

Thread: Ugly icons...[RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840

    Ugly icons...[RESOLVED]

    Hi.

    Have any of you ever tried to extract an icon from a DLL, and show it in a picturebox on WinXP?

    The alphablended part of the icon is converted to a solid black.

    I found some code on PSC but for some strange reason it only works on icons extracted with SHGetFileInfo API and not the ExtractIconEx API. And of course, I need to use ExtractIconEx because I need to pass an index to the icon I want.

    Does anyone know how to restore the alphablend regardless of the API?

    Or does anyone know how to specify which icon to extract using SHGetFileInfo?
    Last edited by pax; Feb 27th, 2004 at 12:32 PM.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

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