Last change
on this file since 1036 was 929, checked in by Steven Levine, 18 years ago |
Compare directories rework.
Change hide not selected to 3 state checkbox.
Honor filters in actions.
Do all total and select count updates on WM_TIMER.
|
File size:
1.6 KB
|
Line | |
---|
1 |
|
---|
2 | /***********************************************************************
|
---|
3 |
|
---|
4 | $Id: $
|
---|
5 |
|
---|
6 | compare interface
|
---|
7 |
|
---|
8 | Copyright (c) 1993-98 M. Kimes
|
---|
9 | Copyright (c) 2001, 2008 Steven H. Levine
|
---|
10 |
|
---|
11 | 05 Jan 08 SHL Split from fm3dll.h
|
---|
12 | 18 Jan 08 SHL Sync with count update mods
|
---|
13 |
|
---|
14 | ***********************************************************************/
|
---|
15 |
|
---|
16 | #if !defined(COMP_H)
|
---|
17 |
|
---|
18 | #define COMP_H
|
---|
19 |
|
---|
20 | #if !defined(OS2_INCLUDED)
|
---|
21 | #define INCL_WINSTDCNR // dircnrs.h
|
---|
22 | #include <os2.h>
|
---|
23 | #else
|
---|
24 | #if !defined(INCL_WINSTDCNR)
|
---|
25 | #error INCL_WINSTDCNR required
|
---|
26 | #endif
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #include "dircnrs.h" // DIRCNRDATA
|
---|
30 |
|
---|
31 | #ifdef DEFINE_GLOBALS
|
---|
32 | #pragma data_seg(GLOBAL1)
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | typedef struct
|
---|
36 | {
|
---|
37 | USHORT size;
|
---|
38 | USHORT dummy;
|
---|
39 | CHAR file1[CCHMAXPATH];
|
---|
40 | CHAR file2[CCHMAXPATH];
|
---|
41 | HWND hwndParent;
|
---|
42 | HWND hwndList;
|
---|
43 | HWND hwndReport;
|
---|
44 | HWND hwndHelp;
|
---|
45 | }
|
---|
46 | FCOMPARE;
|
---|
47 |
|
---|
48 | typedef struct COMPARE
|
---|
49 | {
|
---|
50 | USHORT size;
|
---|
51 | HWND hwnd;
|
---|
52 | HWND hwndParent;
|
---|
53 | CHAR leftdir[CCHMAXPATH + 2];
|
---|
54 | CHAR rightdir[CCHMAXPATH + 2];
|
---|
55 | BOOL forcescroll;
|
---|
56 | BOOL filling;
|
---|
57 | BOOL includesubdirs;
|
---|
58 | INT action;
|
---|
59 | UINT selleft;
|
---|
60 | UINT selright;
|
---|
61 | UINT totalleft;
|
---|
62 | UINT totalright;
|
---|
63 | UINT uOldSelLeft;
|
---|
64 | UINT uOldSelRight;
|
---|
65 | UINT uOldTotalLeft;
|
---|
66 | UINT uOldTotalRight;
|
---|
67 | CHAR rightlist[CCHMAXPATH]; // Snapshot file name
|
---|
68 | BOOL reset;
|
---|
69 | HWND hwndCalling;
|
---|
70 | struct COMPARE *cmp; // callers compare defintion
|
---|
71 | struct DIRCNRDATA dcd;
|
---|
72 | }
|
---|
73 | COMPARE;
|
---|
74 |
|
---|
75 | MRESULT EXPENTRY CFileDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
|
---|
76 | MRESULT EXPENTRY CompareDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
|
---|
77 |
|
---|
78 | #endif // COMP_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.