Changeset 1395 for trunk/dll/misc.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/misc.c

    r1394 r1395  
    5353  25 Dec 08 GKY Add code to allow write verify to be turned off on a per drive basis
    5454  28 Dec 08 GKY Check for LVM.EXE and remove Refresh removable media menu item as appropriate
     55  07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook.
    5556
    5657***********************************************************************/
     
    925926            WinSetWindowText(hwndMLE, szData);
    926927            if (strcmp(szData, testname)) {
    927               if (stricmp(szData, testname) && IsFile(testname) != -1) {
    928                 DosBeep(50, 100);       /* exists; disallow */
     928              if (stricmp(szData, testname) && IsFile(testname) != -1) {
     929                if (!fAlertBeepOff)
     930                  DosBeep(50, 100);       /* exists; disallow */
    929931                return (MRESULT) FALSE;
    930932              }
Note: See TracChangeset for help on using the changeset viewer.