Clive Walker
May 24th, 1999, 11:38 AM
A LoadIconEx function does not exist, how the hell do you load a 16x16 icon from a resource file?
|
Click to See Complete Forum and Search --> : How do you load a small icon from a resource file Clive Walker May 24th, 1999, 11:38 AM A LoadIconEx function does not exist, how the hell do you load a 16x16 icon from a resource file? chiuyan May 24th, 1999, 11:42 AM you do not load different icon sizes seperately, when you load an icon, you get the entire icon (all sizes). They are the same icon, same file. Then when you wish to display the icon, you decide which size you wish to display. --michael Clive Walker May 24th, 1999, 11:44 AM But I'm using CButton::SetIcon how do I specify different icons in the same HICON? chiuyan May 24th, 1999, 12:08 PM you can use LoadImage instead of LoadIcon. It lets you specify which size you want. --michael codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |