Create a text box.
Append text at the end of the control, moving the caret there first.
Preferred size: compact for single-line, taller for multi-line.
Return the current selection as [start, end] character offsets.
Fire onTextChanged on EN_CHANGE notifications.
Intercept WM_KEYDOWN to surface onKeyDown and allow suppression.
Select all the text in the control.
Toggle the read-only state of the control.
Fired on a key press while the control has focus.
Fired when the text changes (EN_CHANGE); carries the new text.
The control's command identifier (the hMenu child id at creation).
Set the control's text.
Get the control's text.
Assign a font to the control and request a repaint.
A reasonable default preferred size; override per control type.
Handle a WM_COMMAND notification routed from the parent.
Handle a WM_NOTIFY notification routed from the parent. Return true if it was handled. The default does nothing.
Install a subclass window procedure so the control can intercept its own messages (for example, swallowing the Enter key in a text field). Idempotent. Subclasses override processSubclassed to do the work.
Intercept a message while subclassed. Set result and return true to consume the message; return false to let default processing continue.
A native text entry field built on the Win32 EDIT control.