TCustomForm.WMWindowPosChanged procedure
Handles the LM_WINDOWPOSCHANGED window message for the form.
Declaration
procedure WMWindowPosChanged(var Message: TLMWindowPosChanged); messageDescription
Re-implements the method from the ancestor class.
Ensures that auto-sizing is disabled for a position message to a top-level
form (where Parent is not assigned), or from the LCL interface
when new height or width values are provided. This is done by including the
value fsDisableAutoSize in the FormState property.
Calls the inherited method prior to exit to apply the position and bounds for the form.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
