The ICON resource-definition statement creates an icon control. This control is an icon displayed in a dialog box.
The ICON control statement, which you can use only in a DIALOG statement, defines the icon-resource identifier, icon-control identifier, position, and attributes of a control.
ICON text, id, x, y, [[width, height, style [[, extended-style]]]]
For more information on the text, id, x, y, width, height, style, and extended-style parameters, see Common Control Parameters.
This example creates an icon control whose icon identifier is 901 and whose name is myicon
:
ICON "myicon" 901, 30, 30