Changeset 55 for trunk/mainwin.cpp


Ignore:
Timestamp:
Jun 2, 2018, 12:45:45 AM (7 years ago)
Author:
Gregg Young
Message:

Update resources to get Gotcha! working in all languages; Reformat and update language tab in settings and about dialog; Clean up settings notebook formatting; Optimize turning PM print screen on and off. Fix screen region capture of its confirmation dialog. Move additional strings from code to the STRINGTABLE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mainwin.cpp

    r51 r55  
    2323{
    2424#ifdef _QUIET_
    25 //#if 1
    2625    hwndFrame = WinLoadDlg (HWND_OBJECT, NULLHANDLE, NULL, GETMODULE,
    2726                            ID_DLG_MAIN, NULL);
     
    331330            usCap = CAP_SCREEN;
    332331#ifdef _QUIET_
    333 //#if 1
    334332            WinShowWindow (g_hwndSettingsDialog, FALSE);
    335333            // WinSendMsg (g_hwndSettingsDialog, WM_CLOSE, 0,0); //Needs to go to the setting dialog
     
    343341            usCap = CAP_SCREENREGION;
    344342#ifdef _QUIET_
    345 //#if 1
    346343            WinShowWindow (g_hwndSettingsDialog, FALSE);
    347344#endif
     
    352349            usCap = CAP_WINDOWINT;
    353350#ifdef _QUIET_
    354 //#if 1
    355351            WinShowWindow (g_hwndSettingsDialog, FALSE);
    356352#endif
     
    361357            usCap = CAP_WINDOW;
    362358#ifdef _QUIET_
    363 //#if 1
    364359            WinShowWindow (g_hwndSettingsDialog, FALSE);
    365360#endif
     
    450445            {
    451446                usState = STATE_WINDOWSELECTED;
    452                 int rc = saymsg2(1, hwnd,  "Capture", "Do you wish to continue?");
     447                int rc = saymsg2(1, hwnd, RSTR(IDS_CAPTURE), RSTR(IDS_WISHCONTINUE));
    453448               
    454449                if (rc == 1)
     450                    DosSleep(100); // Let the dialog close
    455451                    WinPostMsg (hwnd, UM_WINDOWSELECTED,
    456452                                MPFROMHWND (HWND_DESKTOP),
     
    460456                if (rc == 3) {
    461457                    pset->Dialog ();
     458                    DosSleep(100); // Let the dialogs close
    462459                    WinPostMsg (hwnd, UM_WINDOWSELECTED,
    463460                                MPFROMHWND (HWND_DESKTOP),
     
    640637        WinStopTimer (hab, hwnd, ulTimer);
    641638#ifdef _QUIET_
    642 //#if 1
    643639        // ? FIXME to give option to reshow window.
    644640        if (WinQueryButtonCheckstate (hwnd, WID_CB_HIDEWINDOW))
Note: See TracChangeset for help on using the changeset viewer.