What external events trigger TCustomForm.RecreateWnd? What external events trigger TCustomForm.RecreateWnd? windows windows

What external events trigger TCustomForm.RecreateWnd?


Windows will destroy your form if it is owned or parented to another window that is being destroyed.

That will cause your form's handle to be destroyed.

But since your form is still around, Delphi will re-create the handle the next time.