A LoadIconEx function does not exist, how the hell do you load a 16x16 icon from a resource file?
Printable View
A LoadIconEx function does not exist, how the hell do you load a 16x16 icon from a resource file?
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
But I'm using CButton::SetIcon how do I specify different icons in the same HICON?
you can use LoadImage instead of LoadIcon. It lets you specify which size you want.
--michael