extract-icon-from-file

Function

Package: common-graphics

Arguments: filename &optional icon-number

Returns an icon handle, which can be used as the icon of a window, the value of a static-picture control, or the title of a picture-button control.

Argument Description

filename must be a string indicating a file with a .ico, .dll, or .exe extension; an icon is loaded from this file.

icon-number is used for files containing multiple icons; its value should be a non-negative integer indicating the index of the icon to load, where zero indicates the first icon in the file; defaults to zero.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.