Syntax:
ICON icon-id, id, x, y, width, height, [style]
This form of the ICON statement creates an icon control. This control is an icon displayed in a dialog box. The ICON statement, which you can use only in a DIALOG or WINDOW statement, defines the icon-resource identifier, icon-control identifier, position, and attributes of a control window. The predefined class for this control is WC_STATIC. If you do not specify a style, the default style is SS_ICON. For the ICON statement, the width and height fields are ignored; the icon automatically sizes itself.
icon-id
Example
This example creates an icon control whose icon identifier is 99.
ICON 99, 101, 10, 10, 0, 0