For some reason I just can't get my HICON to print. I can print an image loaded via LoadImage to print via GetDIBits and StretchDIBits but my icon refuses to work. The code to do this would be a huge help, I have been trying for days.
I have been playing about with
GetIconInfo( iconExtracted, &IconInfo32x32);
GetObject( IconInfo32x32.hbmColor , sizeof(BITMAP), &Bmp);
I end up with a BITMAP object, all I might need is the code to get the handle of the BITMAP object.