ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/ScanUtility.h
Revision: 277
Committed: 2003-08-24T00:31:45-07:00 (21 years, 10 months ago) by douglas
Content type: text/x-c
File size: 1137 byte(s)
Log Message:
Did work.

File Contents

# Content
1 // Vance Thrift and Biller File Utility 2
2 //
3 // Douglas Thrift
4 //
5 // $Id: ScanUtility.h,v 1.8 2003/08/24 07:31:45 douglas Exp $
6
7 #ifndef _ScanUtility_h_
8 #define _ScanUtility_h_
9
10 #include "IndividualClient.h"
11
12 class ScanUtility
13 {
14 private:
15 PROPSHEETPAGE wizard[5];
16 char* title;
17 IndividualClient client;
18 string scan;
19 string save;
20 string scanDir;
21 string saveDir;
22 HMENU popup;
23 unsigned number;
24 static unsigned count;
25 static map<unsigned, ScanUtility*> utilities;
26 static map<HWND, ScanUtility*> windows;
27 void loadDirs(void);
28 void saveDirs(void);
29 void setScanDir(HWND parent = NULL);
30 void setSaveDir(HWND parent = NULL);
31 void populate(HWND parent);
32 static ScanUtility* which(HWND window);
33 static ScanUtility* which(HWND window, LPARAM l);
34 static int CALLBACK browse(HWND dialog, UINT msg, LPARAM l, LPARAM d);
35 static INT_PTR CALLBACK start(HWND dialog, UINT msg, WPARAM w, LPARAM l);
36 static INT_PTR CALLBACK select(HWND dialog, UINT msg, WPARAM w, LPARAM l);
37 static INT_PTR CALLBACK enter(HWND dialog, UINT msg, WPARAM w, LPARAM l);
38 public:
39 ScanUtility();
40 ~ScanUtility();
41 void run(void);
42 };
43
44 #endif // _ScanUtility_h_