Changeset 907 for trunk/dll/collect.c
- Timestamp:
- Jan 6, 2008, 8:26:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/collect.c
r906 r907 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2003, 200 7Steven H. Levine9 Copyright (c) 2003, 2008 Steven H. Levine 10 10 11 11 15 Oct 02 MK Baseline … … 45 45 ***********************************************************************/ 46 46 47 #define INCL_DOS48 #define INCL_WIN49 #define INCL_GPI50 #define INCL_DOSERRORS51 #define INCL_LONGLONG52 #include <os2.h>53 54 #include <stdarg.h>55 #include <stdio.h>56 47 #include <stdlib.h> 57 48 #include <string.h> 58 49 #include <ctype.h> 59 #include <time.h>60 50 #include <share.h> 61 51 #include <limits.h> 62 52 #include <process.h> // _beginthread 63 53 64 #include "fm3dll.h" 54 #define INCL_DOS // QSV_MS_COUNT 55 #define INCL_WIN 56 #define INCL_DOSERRORS 57 #define INCL_LONGLONG 58 65 59 #include "fm3dlg.h" 66 60 #include "fm3str.h" 67 61 #include "mle.h" 68 62 #include "grep.h" 63 #include "comp.h" 64 #include "arccnrs.h" // StartArcCnr 65 #include "filldir.h" // EmptyCnr... 66 #include "strutil.h" // GetPString 67 #include "errutil.h" // Runtime_Error 68 #include "fm3dll.h" 69 69 70 70 #pragma data_seg(DATA1) … … 127 127 if (dcd) { 128 128 SetViewMenu(hwndButtonPopup, dcd->flWindowAttr); 129 130 129 SetDetailsSwitches(hwndButtonPopup, dcd); 130 CopyPresParams(hwndButtonPopup, hwnd); 131 131 } 132 132 … … 572 572 else { 573 573 pciFirst = pci; 574 // 04 Jan 08 SHL fixme like comp.c if CM_ALLOCRECORD returns unexpected record count 574 575 for (x = 0; li->list[x]; x++) { 575 576 nm = 1; … … 587 588 TRUE) && 588 589 !xDosFindFirst(fullname, 589 590 591 592 593 590 &hdir, 591 FILE_NORMAL | FILE_DIRECTORY | 592 FILE_ARCHIVED | FILE_SYSTEM | 593 FILE_HIDDEN | FILE_READONLY, 594 &fb4, sizeof(fb4), &nm, FIL_QUERYEASIZEL)) { 594 595 DosFindClose(hdir); 595 596 priority_normal(); … … 1359 1360 SetViewMenu((HWND) mp2, dcd->flWindowAttr); 1360 1361 WinEnableMenuItem((HWND) mp2, IDM_RESELECT, 1361 1362 1362 (dcd->lastselection != NULL)); 1363 CopyPresParams((HWND) mp2, hwnd); 1363 1364 break; 1364 1365 … … 2092 2093 if (dcd->hwndLastMenu == CollectorCnrMenu) { 2093 2094 SetViewMenu(dcd->hwndLastMenu, dcd->flWindowAttr); 2094 2095 2095 SetDetailsSwitches(dcd->hwndLastMenu, dcd); 2096 CopyPresParams(dcd->hwndLastMenu, hwnd); 2096 2097 if (dcd->flWindowAttr & CV_MINI) 2097 2098 WinCheckMenuItem(dcd->hwndLastMenu, IDM_MINIICONS, TRUE); … … 2300 2301 strcat(li->targetpath, " %a"); 2301 2302 ExecOnList(dcd->hwndParent, li->targetpath, 2302 2303 2303 PROMPT | WINDOWED, NULL, li->list, NULL, 2304 pszSrcFile, __LINE__); 2304 2305 FreeList(li->list); 2305 2306 li->list = NULL; … … 2523 2524 DosError(FERR_DISABLEHARDERR); 2524 2525 status = DosFindFirst(pci->pszFileName, &hDir, 2525 2526 FILE_NORMAL | FILE_DIRECTORY | 2526 2527 FILE_ARCHIVED | FILE_READONLY | 2527 2528 FILE_HIDDEN | FILE_SYSTEM,
Note:
See TracChangeset
for help on using the changeset viewer.