Changeset 30 for trunk/mainwin.cpp
- Timestamp:
- Mar 13, 2018, 11:51:18 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mainwin.cpp
r28 r30 18 18 ***/ 19 19 20 // ** CreateMainWindow **************************************************** /* fold00*/20 // ** CreateMainWindow **************************************************** /*FOLD00*/ 21 21 22 22 HWND CreateMainWindow (VOID) 23 23 { 24 //#ifdef _QUIET_25 #if 124 #ifdef _QUIET_ 25 //#if 1 26 26 hwndFrame = WinLoadDlg (HWND_OBJECT, NULLHANDLE, NULL, GETMODULE, 27 27 ID_DLG_MAIN, NULL); … … 301 301 case WID_PB_SCREEN: 302 302 usCap = CAP_SCREEN; 303 //#ifdef _Quiet_304 #if 1303 #ifdef _QUIET_ 304 //#if 1 305 305 WinShowWindow (g_hwndSettingsDialog, FALSE); 306 306 // WinSendMsg (g_hwndSettingsDialog, WM_CLOSE, 0,0); //Needs to go to the setting dialog … … 313 313 case WID_PB_SCREENREGION: 314 314 usCap = CAP_SCREENREGION; 315 //#ifdef _Quiet_316 #if 1315 #ifdef _QUIET_ 316 //#if 1 317 317 WinShowWindow (g_hwndSettingsDialog, FALSE); 318 318 #endif … … 322 322 case WID_PB_WINDOWINTERIOR: 323 323 usCap = CAP_WINDOWINT; 324 //#ifdef _Quiet_325 #if 1324 #ifdef _QUIET_ 325 //#if 1 326 326 WinShowWindow (g_hwndSettingsDialog, FALSE); 327 327 #endif … … 331 331 case WID_PB_WINDOW: 332 332 usCap = CAP_WINDOW; 333 //#ifdef _Quiet_334 #if 1333 #ifdef _QUIET_ 334 //#if 1 335 335 WinShowWindow (g_hwndSettingsDialog, FALSE); 336 336 #endif … … 360 360 usState = STATE_WAITFORHIDE; 361 361 362 if (usCap == CAP_SCREENREGION || usCap == CAP_SCREEN) 362 if (usCap == CAP_SCREENREGION || usCap == CAP_SCREEN) { 363 #ifdef _QUIET_ 363 364 hwndParent = WinQueryFocus(HWND_DESKTOP); 364 //#ifndef _QUIET_ 365 #if 0 365 #else 366 hwndParent = WinQueryWindow(hwndFrame, QW_NEXTTOP ); 367 #endif 368 } 369 #ifndef _QUIET_ 370 //#if 0 366 371 if (WinQueryButtonCheckstate (hwnd, WID_CB_HIDEWINDOW)) 367 372 WinShowWindow (WinQueryWindow (hwnd, QW_PARENT), FALSE); … … 581 586 WinSendMsg (hwndSnapshot, UM_STOPCAPTURE, 0,0); 582 587 WinStopTimer (hab, hwnd, ulTimer); 583 //#ifdef _QUIET_584 #if 1588 #ifdef _QUIET_ 589 //#if 1 585 590 // ? FIXME to give option to reshow window. 586 591 if (WinQueryButtonCheckstate (hwnd, WID_CB_HIDEWINDOW))
Note:
See TracChangeset
for help on using the changeset viewer.