GRAPHIC IMAGELIST statement  

Purpose

Display an image from an IMAGELIST

Syntax

GRAPHIC IMAGELIST (x!,y!), hLst, index&, overlay&, style&

Remarks

One of the images stored in an IMAGELIST is displayed on the selected graphic control, bitmap, or window.  The parameters x!,y! define the upper left corner of the position of the image.  hLst is the handle of the IMAGELIST and index& is the selector of the image to be displayed (1=first, 2=second, etc.).  If overlay& is non-zero, it specifies an overlay image to be added to the displayed image from the image list. The parameter style& may be one of the following style bits:

%ILD_NORMAL

Draws the image using the background color of the image list.  If the background color is the default value %CLR_NONE, the image is drawn transparently.

%ILD_TRANSPARENT

Draws the image transparently if there is a mask.

%ILD_MASK

Draws the mask.

%ILD_BLEND25

If there is a mask, the image is drawn blending 25% with the system highlight color.

%ILD_BLEND50

If there is a mask, the image is drawn blending 50% with the system highlight color.

See also

GRAPHIC ATTACH, GRAPHIC COPY, GRAPHIC RENDER, GRAPHIC STRETCH, IMAGELIST