ResCompiler: Tool Button Controls
ResCompiler has been superseded. See Converting .brc Files to .arc Format instead.
The following lists the mandatory properties for tool button controls:
Toolbutton control-id "title" x y width height
|
Property |
Description |
|---|---|
|
toolbutton |
Identifies the control as a tool button control. |
|
control-id |
Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window. |
|
"title" |
Title of the control, contained in quotation marks. |
|
x |
Horizontal position of the upper-left corner of the control in current units. |
|
y |
Vertical position of the upper-left corner of the control in current units. |
|
width |
Width of the control in current units. |
|
height |
Height of the control in current units. |
The following identifies the optional properties for this control.
-
Group
-
Imagefile
-
Opaque
-
Popupmenuid
-
Toggle
Example
The following example contains a window with two tool button controls; the first contains only the mandatory definitions, and the second contains optional settings.
|