I do not think this is possible in VCL. As I understand it, the MDI form is considered the main form (Application.MainForm). I assume that Windows routines will not have this assumption, but I think VCL will not let you do this without a serious hack.
At various points in the VCL environment, important MDI messages are sent to Application.MainForm.ClientHandle . Now ClientHandle is an MDI container, but for some reason the container for the main form is allocated.
David heffernan
source share