The EDITTEXT resource-definition statement creates an edit control belonging to the EDIT class. It creates a rectangular region in which the user can type and edit text. The control displays a cursor when the user clicks the mouse in it. The user can then use the keyboard to enter text or edit the existing text. Editing keys include the BACKSPACE and DELETE keys. The user can also use the mouse to select characters to be deleted or to select the place to insert new characters.
EDITTEXT id, x, y, width, height [[, style [[, extended-style]]]]
If you do not specify a style, the default style is ES_LEFT | WS_BORDER | 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 EDITTEXT statement:
EDITTEXT 3, 10, 10, 100, 10