

To change the size of the system small icon See Icon scaling for recommendations on preferred icon sizes for your application. The system small icon is displayed in the window caption. User can load custom icons from files or create them at run-time. See Guidelines for information on recommended usage of standard icons.Īlso, starting with Windows Vista, an additional set of standard system shell icons is available through the SHGetStockIconInfo method.Ĭustom icons are designed for use in a particular application and can be any design. The software development kit (SDK) header files contain identifiers for the system icons - the identifiers begin with the IDI_ prefix. The operating system provides a set of standard icons that are available for any application to use at any time. If you use the CreateIconIndirect function to create an icon, you can specify any pixel to be the hot spot.

An icon's hot spot is typically the pixel located at the center of the icon. One of the pixels in an icon is designated as the hot spot, which is the point the system tracks and recognizes as the position of the icon. To retrieve the size of the shell large icon.To retrieve the size of the shell small icon.To retrieve the size of the system large icon.To retrieve the size of the system small icon.To change the size of the system small icon.This overview provides information on the following topics: For information on specifying icons for file types, see ExtractIcon. The icon functions enable applications to create, load, display, arrange, animate, and destroy icons. The system uses icons throughout the user interface to represent objects such as files, folders, shortcuts, applications, and documents.
