The GROUPBOX resource-definition can be used to draw a rectangle around a group of controls. The group box has a label that appears at the top left of the rectangle.
GROUPBOX text, id, x, y, width, height
text
The text that is displayed at the top left of the rectangle.
id
The id is a string used to identify controls within the resource file.
flags
No flags available.
Example
The following example demonstrates how to create a group box that is labelled Options:
GROUPBOX “Options”, IDSTATIC, 10, 10, 100, 90