AUTORADIOBUTTON Control

This resource-definition statement creates an automatic radio button control. When the button is chosen, the control sends a BN_CLICKED message to the application. When an automatic radio button control is placed in the same group as other automatic radio button controls, they become mutually exclusive.

Syntax

AUTORADIOBUTTON text, id, x, y, width, height [[, style [[, extended-style]]]]

Parameters

text

Specifies the text that is displayed next to the radio button.

style

Specifies styles for the automatic 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_AUTORADIOBUTTON | WS_TABSTOP.

Remarks

For more information about button styles, see Button Control Statements.

See Also

CONTROL, RADIOBUTTON