EnumWindows(@WindowCallback, Longint(@WindowLst));
if not HaveOne and not (CMD=Longint(Sunhay_Message_CMD_Close))then begin //如果找不到窗口,执行 Param:= ''; for i:=1 to ParamCount do Param:=Param+ParamStr(i); ShellExecute(HWND_BROADCAST, 'open', StrPCopy(PStr1, AppDir+'\'+constCentaurusApplicationName), StrPCopy(PStr2, Param), ' 9;, SW_SHOWNORMAL); end; 9;, SW_SHOWNORMAL); end;
用户评论