ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/ScanUtility.h
Revision: 278
Committed: 2003-08-25T00:29:00-07:00 (21 years, 10 months ago) by douglas
Content type: text/x-c
File size: 1288 byte(s)
Log Message:
Almost finished with Scan Utility.

File Contents

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