Export (0) Print
Expand All

RADIOBUTTON control

Defines a radio-button control. The control is a small circle that has the given text displayed next to it, typically to its right. 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 when the button is next selected.

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

style

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.

For more information about the general syntax of a control statement, see Common Control Parameters.

Examples

The following example demonstrates the use of the RADIOBUTTON statement:

RADIOBUTTON "Italic", 100, 10, 10, 40, 10

See also

GetDialogBaseUnits
Radio Buttons

 

 

Community Additions

ADD
Show:
© 2014 Microsoft