ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/VTBFileUtil2/ScanUtility.h
Revision: 368
Committed: 2008-08-23T02:44:00-07:00 (13 years, 9 months ago) by douglas
Content type: text/x-c
File size: 1233 byte(s)
Log Message:
Rearranged everything else.

File Contents

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