Create the control as a child window.
The control's command identifier (the hMenu child id at creation).
A reasonable default preferred size; override per control type.
Get the control's text.
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.
Intercept a message while subclassed. Set result and return true to consume the message; return false to let default processing continue.
Assign a font to the control and request a repaint.
Set the control's text.
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.
The native window handle this widget owns (null until created).
The widget this one is parented to, if any.
Child widgets, in z/insertion order.
Cached visibility flag.
Cached bounds (window-relative for children, screen-relative for windows).
The native window handle this widget owns (null until created).
The widget this one is parented to, if any. Read-only; see addChild.
The child widgets, in z/insertion order. Read-only; see addChild.
Whether the widget is currently visible. Read-only; see setVisible.
The widget's last-known bounds. Read-only; see setBounds/getBounds.
Raw handle accessor for subclasses and the backend.
Make the widget visible.
Hide the widget.
Set visibility, updating the native window if it exists.
Move/resize the widget, updating the native window if it exists.
The widget's last-known bounds.
The widget's client area (origin at 0,0). Empty if not yet created.
Enable or disable input for the widget.
Whether the widget currently accepts input.
Give the widget keyboard focus.
Request a repaint of the whole widget.
The widget's preferred size, used by the layout engine for non-stretching (proportion 0) items. The base widget has no intrinsic size; controls override this.
Append a child and set its parent to this widget.
Remove a child and clear its parent link. Unknown children are ignored.
Deterministically tear the widget down: dispose children, detach from the parent, destroy the native window, unregister it, and release the GC root. Idempotent — safe to call more than once.
Associate this widget's freshly-created HWND with the dispatch machinery and pin it as a GC root. Call once, immediately after handle is set.
Handle a window message routed from the master window procedure.
Base class for all Win32 common-control wrappers.