Windows XP supports 32 bit transparent icons that look very nice in the start bar. I want a sample program that creates a transparent icon by loading a 32 bit PNG file and assigning it as the apps icon. (24 bits+8 bit alpha)
CreateAlphaIcon(char *filename); // this is the main needed function
Please see the link below from Microsoft explaining how to do it.
[url removed, login to view];en-us;Q318876
I do not want to load the icon from resources. I need it to be built using CreateIconIndirect using a PNG file. If it is easier to load an 32 bit ICO file I may be able to provide that, but the file must be loaded at runtime from the disk and not from resources.