TWinControlHandle (Delphi)
Description
The following code uses the Windows API function ShowWindow to display Form2 as an icon, but does not activate it.
Code
procedure TForm1.Button1Click(Sender: TObject);
begin
ShowWindow(Form2.Handle, SW_SHOWMINNOACTIVE);
end;
Uses
- Vcl.Controls.TWinControl.Handle ( fr | de | ja )