[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Creates the handle for the widgetset class and updates it Menu and Icons.
Source position: forms.pp line 645
protected procedure TCustomForm.CreateWnd; override; |
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.
|
Creates the window handle for the control. |
|
|
Creates the interface object (widget) and assigns the value in Handle. |
Version 3.2 | Generated 2024-02-25 | Home |