Sending a restore message from FM to another Application

旧时模样 提交于 2019-12-12 04:16:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!