Changeset 1395 for trunk/dll/viewinf.c


Ignore:
Timestamp:
Feb 8, 2009, 2:48:16 AM (17 years ago)
Author:
Gregg Young
Message:

Allow user to turn off alert and/or error beeps in settings notebook. Ticket 341 Move repeated strings to PCSZs. Ticket 6 Add *DateFormat functions to format dates based on locale Ticket 28 Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error Ticket 6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/viewinf.c

    r1391 r1395  
    1717  10 Dec 08 SHL Integrate exception handler support
    1818  11 Jan 09 GKY Replace font names in the string file with global set at compile in init.c
     19  07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error
     20  07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook.
    1921
    2022***********************************************************************/
     
    250252                           swp.cy,
    251253                           hwnd, HWND_TOP, VINF_LISTBOX, NULL, NULL)) {
    252         Win_Error2(hwnd, hwnd, pszSrcFile, __LINE__, IDS_WINCREATEWINDOW);
     254        Win_Error(hwnd, hwnd, pszSrcFile, __LINE__,
     255                  PCSZ_WINCREATEWINDOW);
    253256      }
    254257      else {
     
    438441                                            MPVOID);
    439442        if (sSelect == LIT_NONE) {
    440           DosBeep(50, 100);
     443          if (!fAlertBeepOff)
     444            DosBeep(50, 100);
    441445          break;
    442446        }
     
    538542                                            MPVOID);
    539543        if (sSelect < 0) {
    540           DosBeep(50, 100);
     544          if (!fAlertBeepOff)
     545            DosBeep(50, 100);
    541546        }
    542547        else {
     
    550555            p = strchr(text, '>');
    551556            if (!p) {
    552               DosBeep(50, 100);
     557              if (!fAlertBeepOff)
     558                DosBeep(50, 100);
    553559              break;
    554560            }
     
    556562            bstrip(p);
    557563            if (!*p)
    558               DosBeep(50, 100);
     564              if (!fAlertBeepOff)
     565                DosBeep(50, 100);
    559566            else
    560567              ViewHelp(p);
Note: See TracChangeset for help on using the changeset viewer.