This resource-definition statement creates a radio button control. The control is a small circle with the specified text typically positioned to the right of the circle. The control highlights the circle and sends a message to its parent window when the user selects the button. The control removes the highlight and sends a message the next time the button is selected.
Syntax
RADIOBUTTON text, id, x, y, width, height [[, style [[, extended-style]]]]
Parameters
style
Specifies styles for the radio button, which can be a combination of BUTTON class styles and the following styles: WS_TABSTOP, WS_DISABLED, and WS_GROUP.
If you do not specify a style, the default style is BS_RADIOBUTTON | WS_TABSTOP.
Example
The following code example shows how to use the RADIOBUTTON statement.
RADIOBUTTON "Italic", 100, 10, 10, 40, 10
See Also
GetDialogBaseUnits