TCustomForm.CreateWnd procedure
Creates the handle for the widgetset class and updates it Menu and Icons.
Declaration
procedure CreateWnd; overrideDescription
CreateWnd is an overridden method in
TCustomForm used
to create (or re-create) the
Handle for the widgetset class. It
sets the initial values for
FormState, and calls the inherited
method to handle auto-sizing and scroll bars.
CreateWnd ensures that a handle is allocated for the Menu and the
Handle for the form is used as its WindowHandle. The
CM_ICONCHANGED control message is performed to (re-)create handles for
menu glyphs, and to post the changes to the widgetset class.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
