1. 首页
  2. 编程语言
  3. 其他
  4. EnumWindows(@WindowCallback, Longint(@WindowLst));

EnumWindows(@WindowCallback, Longint(@WindowLst));

上传者: 2019-04-15 07:46:40上传 RAR文件 351.06KB 热度 19次
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;
用户评论