SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Change size of other window

Use FindWindow function to find handle of the foreign window and MoveWindow function to change position and dimensions of this window.

procedure TForm1.Button1Click(Sender: TObject);
  MyHandle: THandle;
  WinRect: TRect;
  MyHandle:=FindWindow(nil, 'Delphi Help');
  GetWindowRect(MyHandle, WinRect);
  MoveWindow(MyHandle, WinRect.Left, WinRect.Top, 300, 300, True);
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes