Click to See Complete Forum and Search --> : Icon Size in Picture Control


Steve McNeese
April 12th, 1999, 07:49 AM
Is there a way to specify the icon size used in a picture control on a dialog or view set to type icon? My icons have 32x32 and 16x16 size and when I specify an icon for the picture control, it defaults to 32x32.

Thanks,

Steve

Steven M. McNeese
steven.mcneese@boeing.com

Walter I An
April 12th, 1999, 03:12 PM
Use DrawIconEx()!

Good luck. :)

Walter

Kanwardeep
April 13th, 1999, 04:53 AM
May I know which function are you using to load the icon?

Kanwardeep
April 13th, 1999, 05:00 AM
Before that you have to use LoadImage().

Steve McNeese
April 13th, 1999, 05:36 AM
Sorry it was not clear. I am adding an icon using the resource editor.

Steven M. McNeese
steven.mcneese@boeing.com