The GROUPBOX resource-definition statement creates a group box control. The control is a rectangle that groups other controls together. The controls are grouped by drawing a border around them and displaying the given text in the upper-left corner.
The GROUPBOX statement, which you can use only in a DIALOG statement, defines the text, identifier, dimensions, and attributes of a control window.
When the style contains WS_TABSTOP or the text specifies an accelerator, tabbing or pressing the accelerator key moves the focus to the first control within the group.
GROUPBOX text, id, x, y, width, height [[, style [[, extended-style]]]]
If you do not specify a style, the default style is BS_GROUPBOX.
For more information on the text, id, x, y, width, height, style, and extended-style parameters, see Common Control Parameters.
This example creates a group-box control that is labeled Options:
GROUPBOX "Options", 101, 10, 10, 100, 100