Changeset 92 for trunk/gotcha.cpp
- Timestamp:
- Oct 7, 2020, 5:00:30 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gotcha.cpp
r91 r92 156 156 pset->pForceSaveFile = pset->QueryForceSaveFile(); 157 157 pset->bSerialCapture = pset->SerialCapture (); 158 158 #ifndef _QUIET_ 159 159 // check cmd line args and if "-a" found take screenshot and exit 160 160 if (CheckCmdlineArgs (argc, argv)) … … 168 168 exit (0); 169 169 } 170 170 #endif 171 171 SetIdlePriority(pset->QueryFlag(SEI_IDLEPRIORITY)); 172 172 … … 175 175 #ifndef _QUIET_ 176 176 hwndSnapshot = CreateSnapshotWindow (); 177 #endif178 177 SWP swp; 179 178 USHORT us[7]; … … 183 182 WinSetWindowPos (hwndFrame, HWND_DESKTOP, swp.x,swp.y, 0,0, 184 183 SWP_SHOW | SWP_MOVE); 185 184 #endif 186 185 187 186 #ifdef _QUIET_ … … 206 205 else 207 206 WinShowWindow (hwndSnapshot, TRUE); 208 #endif 207 209 208 WinSetWindowPos (hwndFrame, NULLHANDLE, 0,0, 0,0, SWP_SHOW); 210 209 WinSetWindowPos (WinWindowFromID (hwndFrame, FID_CLIENT), NULLHANDLE, 211 210 0,0, 0,0, SWP_SHOW); 211 #endif 212 212 213 213 g_phelp = new Helper(hwndFrame); … … 234 234 WinQueryWindowPos (hwndSnapshot, &swp); 235 235 pset->SetWindowData (&swp); 236 #endif 236 237 237 // save size, etc. of main window 238 238 WinQueryWindowPos (hwndFrame, &swp); 239 239 pset->SetWindowData (&swp, FALSE); 240 240 #endif 241 241 // goodbye windows! 242 242 #ifndef _QUIET_
Note:
See TracChangeset
for help on using the changeset viewer.