How can i draw some Icon in a window?
Posted on 2003-09-15 02:50:19 by sysnet
The easiest way is to create a static control with the style SS_ICON and use STM_SETIMAGE to have the icon shown in the static control. Alternatively you can convert the icon to a bitmap and paint that directly. Use GetIconInfo to obtain a handle to the bitmaps (there are 2) in the icon and paint the bitmap anywhere you want during the paint cycle.
Posted on 2003-09-15 03:14:12 by donkey