deft.controls.panel

A container widget that groups and lays out child controls.

Panel is a real child window of Deft's own window class — not a native STATIC — so, unlike a bare static control, it forwards the WM_COMMAND and WM_NOTIFY notifications its children raise. Without this, a button or list placed inside a static container would never deliver its click/selection events (the static control's window procedure drops them). A panel arranges its children with a Sizer, making it the natural content host for a tab page or any nested region.

WS_EX_CONTROLPARENT is set so the dialog manager tabs into the panel's children — keyboard navigation reaches everything inside.

Members

Classes

Panel
class Panel

A sizer-arranged container that forwards its children's notifications.

Meta