Your application should supply groups of icon images in the following sizes: The Start menu uses either shell small icons or shell large icons, depending on whether the Use Large Icons check box is selected.
#Copyimage function windows
The shell small icon is used in the Windows Explorer and the common dialogs. The CreateIcon, CreateIconFromResourceEx, CreateIconIndirect, and SHGetFileInfo functions can be used to work with icons in sizes other than system large. Call GetSystemMetrics with SM_CXICON and SM_CYICON.To retrieve the size of the system large icon The size of the system large icon is defined by the video driver, therefore it cannot be changed. The CreateIconFromResource, DrawIcon, ExtractAssociatedIcon, ExtractIcon, ExtractIconEx, and LoadIcon functions all use system large icons. The system large icon is mainly used by applications, but it is also displayed in the Alt+Tab dialog. Call the GetSystemMetrics function with SM_CXSMICON and SM_CYSMICON.To retrieve the size of the system small icon Select Caption Buttons from the Item list, then set the Size field.From Control Panel, click Display, then click the Appearance tab.To change the size of the system small icon The system small icon is displayed in the window caption. The user can replace the default image associated with any standard cursor at any time.Ĭustom icons are designed for use in a particular application and can be any design.
#Copyimage function software
The software development kit (SDK) header files contain identifiers for the standard icons-the identifiers begin with the IDI_ prefix.Įach standard icon has a corresponding default image associated with it. 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.
![copyimage function copyimage function](https://i.stack.imgur.com/UTwrQ.png)
The system uses icons throughout the user interface to represent objects such as files, folders, shortcuts, applications, and documents.