RE: Win API question

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu