The PUSHBUTTON resource-definition statement creates a push-button control. The control is a round-cornered rectangle containing the given text. The text is centered in the control. The control sends a message to its parent whenever the user chooses the control.
PUSHBUTTON text, id, x, y, width, height [[, style [[, extended-style]]]]
If you do not specify a style, the default style is BS_PUSHBUTTON | WS_TABSTOP.
For more information on the text, id, x, y, width, height, style, and extended-style parameters, see Common Control Parameters.
The following example demonstrates the use of the PUSHBUTTON statement:
PUSHBUTTON "ON", 7, 10, 10, 20, 10