Dear Chris,
Thank you for trying to help, but you have misunderstood something very much.
1. Nobody cares, how you bring that form2 to the front. (Mouse, Show, BringToFront, SetFocus )
2. The problem is the opposite:
– you can not send it behind the other form !
Because even if it is already at the back, it brings it to front. What it SHOULD NOT !!!
procedure Send_Form_to_Background(h: THandle);
begin
SetWindowPos(h, HWND_BOTTOM, 0,0, 0,0, SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSENDCHANGING or SWP_NOSIZE or SWP_NOOWNERZORDER);
end;