Progress
Programming
Handbook


Displaying the Small Icon Size

The LOAD-ICON() and the LOAD-SMALL-ICON() methods allow you to associate icons with windows. The LOAD–ICON() method allows you to specify an icon to display in the title bar of a window (maximized), in the task bar (minimized), and when selecting a program using ALTTAB . The LOAD–SMALL–ICON() method allows you to specify an icon to display in the title bar of a window and in the task bar only.

The value you assign with either the LOAD–ICON() or the LOAD–SMALL–ICON() methods must be the name of an icon (.ico) file. Both of these methods accommodate icons formatted as small size (16x16), regular size (32x32), or both. However, their treatment of the small and regular size icons differ.

The LOAD–ICON() method looks for an icon defined as 32x32 pixels by default and will shrink it down to 16x16 pixels if necessary. The resolution of an icon that is changed in this manner may not be suitable for all icon images. Therefore, the alternative LOAD–SMALL–ICON() method that looks for icons defined as 16x16 pixels by default when there are multiple icons in an icon file may be more suitable for your icon style and presentation.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095