A graphics port or CAPI object.
A keyword, string or pathname.
The desired width in pixels, or
nil
.
The desired height in pixels, or
nil
.
The
load-icon-image
function loads an icon specified by
id
which should be either a keyword describing a standard icon, or a string or a pathname naming a Windows format icon (
.ico
) file. In this case, the first icon in the file is loaded.
The following keyword values of id are recognized:
A rectangle
A cross in a circle
A question mark in a bubble
An exclamation mark in a triangle
An 'I' in a bubble
The Windows logo
Same as
:bang
Same as
:hand
load-icon-image
returns an image object which can be drawn to
port
using draw-image and which must be freed using free-image when no longer needed.
If width and height are specified, then the image is scaled accordingly. If
width
and
height
are
nil
then the dimensions are taken from the icon file.
width
defaults to
nil
and
height
defaults to
width
.
Note:
load-icon-image
is defined only in LispWorks for Windows.