Searching the VCL-Sources via "CM_SHOWINGCHANGED" leads to procedure "Vcl.Controls.TWinControl.UpdateControlState". That one is called for example when changing the Parent of a TForm.
The attached list of procedures calling "UpdateControlState", produced by my Reference-Tool, is only as picture available, sorry . You find the callers names in bold on the right side...