admin
2024-07-05 3ef188e6075649f4c72e3e7588d8966e1071f2ff
common_nopch/Win32Util.cpp
@@ -285,7 +285,7 @@
   }
   input_num(origin_hwnd, code.substr(0, 1));
   Sleep(100);
   Sleep(200);
   hwnds.clear();
   HWND topHwnd = GetDesktopWindow();
@@ -293,7 +293,12 @@
   HWND temp = 0;
   int f_count = 0;
   while (TRUE) {
      if (f_count > 100000) {
         break;
      }
      f_count += 1;
      if (temp > 0 && isWindowShow(temp)) {
         string className = getClassName(temp);
         if (className.find("Afx:") == 0) {