Changeset 1395 for trunk/dll/notebook.c
- Timestamp:
- Feb 8, 2009, 2:48:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/notebook.c
r1394 r1395 45 45 01 Jan 09 GKY Add option to rescan tree container on eject of removable media 46 46 11 Jan 09 GKY Replace font names in the string file with global set at compile in init.c 47 07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook. 48 07 Feb 09 GKY Move repeated strings to PCSZs. 47 49 48 50 ***********************************************************************/ … … 94 96 HWND Collector; 95 97 DETAILS_SETTINGS dsDirCnrDefault; 98 BOOL fAlertBeepOff; 96 99 BOOL fAutoAddAllDirs; 97 100 BOOL fAutoAddDirs; … … 111 114 BOOL fEjectFlpyScan; 112 115 BOOL fEjectRemovableScan; 116 BOOL fErrorBeepOff; 113 117 BOOL fExternalArcboxes; 114 118 BOOL fExternalCollector; … … 268 272 SBoxDlgProc, FM3ModHandle, ASEL_FRAME, 269 273 (PVOID) & pat) || !pat || !pat->id || !*pat->id) { 274 if (!fAlertBeepOff) 270 275 DosBeep(250, 100); // Complain 271 276 WinCheckButton(hwnd, CFGA_DEFARC, FALSE); … … 310 315 HWND hwndFocus; 311 316 312 strcpy(filename, "*.EXE");317 strcpy(filename, PCSZ_STARDOTEXE); 313 318 hwndFocus = WinQueryFocus(HWND_DESKTOP); 314 319 if (hwndFocus) { … … 701 706 HWND hwndFocus; 702 707 703 strcpy(filename, "*.EXE");708 strcpy(filename, PCSZ_STARDOTEXE); 704 709 hwndFocus = WinQueryFocus(HWND_DESKTOP); 705 710 if (hwndFocus) { … … 909 914 HWND hwndFocus; 910 915 911 strcpy(filename, "*.EXE");916 strcpy(filename, PCSZ_STARDOTEXE); 912 917 hwndFocus = WinQueryFocus(HWND_DESKTOP); 913 918 if (hwndFocus) { … … 1511 1516 WinCheckButton(hwnd, CFGG_DNDDLG, fDragndropDlg); 1512 1517 WinCheckButton(hwnd, CFGG_DEFAULTDELETEPERM, fDefaultDeletePerm); 1518 WinCheckButton(hwnd, CFGG_ERRORBEEPOFF, fErrorBeepOff); 1519 WinCheckButton(hwnd, CFGG_ALERTBEEPOFF, fAlertBeepOff); 1513 1520 { 1514 1521 long th = fNoFinger ? 2 : (fNoDead ? 1 : 0); … … 1629 1636 fConfirmTarget = WinQueryButtonCheckstate(hwnd, CFGG_CONFIRMTARGET); 1630 1637 PrfWriteProfileData(fmprof, appname, "ConfirmTarget", 1631 &fConfirmTarget, sizeof(BOOL)); 1638 &fConfirmTarget, sizeof(BOOL)); 1639 fAlertBeepOff = WinQueryButtonCheckstate(hwnd, CFGG_ALERTBEEPOFF); 1640 PrfWriteProfileData(fmprof, appname, "AlertBeepOff", 1641 &fAlertBeepOff, sizeof(BOOL)); 1642 fErrorBeepOff = WinQueryButtonCheckstate(hwnd, CFGG_ERRORBEEPOFF); 1643 PrfWriteProfileData(fmprof, appname, "ErrorBeepOff", 1644 &fErrorBeepOff, sizeof(BOOL)); 1632 1645 { 1633 1646 WinSendDlgItemMsg(hwnd, CFGG_CMDLNLNGTH, SPBM_QUERYVALUE, … … 1728 1741 HWND hwndFocus; 1729 1742 1730 strcpy(filename, "*.EXE");1743 strcpy(filename, PCSZ_STARDOTEXE); 1731 1744 hwndFocus = WinQueryFocus(HWND_DESKTOP); 1732 1745 if (hwndFocus) {
Note:
See TracChangeset
for help on using the changeset viewer.