问题
I was provided some great help in finding if a window existed in FM.
Now I need to know how to restore that window , if it does exists.
thanks
function WindowExists(const TitleName: string): Boolean;
begin
Result := Winapi.Windows.FindWindow(nil, PChar(TitleName)) <> 0;
end;
回答1:
Call ShowWindow
passing the window handle and the SW_RESTORE
flag.
来源:https://stackoverflow.com/questions/34004258/sending-a-restore-message-from-fm-to-another-application