RE: Win API question
- Posted by Philip D. <philip1987 at hotmail.com> Dec 10, 2003
- 480 views
Bernard W. Ryan wrote: > > > Philip: > > The size of the icon depends on where it will be displayed > on the large icon, small icon, minimized icon, alt-tab icon, etc. > The icon must contain all the needed SIZES if you don't want it > to be compressed. > > A window's icon resource ( or .ico file ) contains a 16x16, 32x32 > and 48x48. This icon can also contain these 3 icons in > in different color pallete sizes ( a total 9 possible combinations ). > When windows displays an icon it selects the appropriate available > icon to display OR it tries to select and adjust the icon size to fit > the needed size and uses the nearest color pallet that is available > for that icon. > > A good icon editor will allow you to see what sizes an ICO file > file contains. > > Bernie > Yes, but how do I get it to display the 16x16 version of the icon instead of the crammed 32x32 version?