ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/DiscBrowse.h
Revision: 284
Committed: 2003-09-01T23:05:56-07:00 (21 years, 10 months ago) by douglas
Content type: text/x-c
File size: 967 byte(s)
Log Message:
Did stuff, fixed errors.

File Contents

# User Rev Content
1 douglas 260 // Vance Thrift and Biller File Utility 2
2     //
3     // Douglas Thrift
4     //
5 douglas 284 // $Id: DiscBrowse.h,v 1.5 2003/09/02 06:05:56 douglas Exp $
6 douglas 260
7     #ifndef _DiscBrowse_h_
8     #define _DiscBrowse_h_
9    
10     #include "IndividualClient.h"
11    
12     class DiscBrowse
13     {
14     private:
15 douglas 282 PROPSHEETPAGE wizard[2];
16     string discDir;
17     static map<HWND, DiscBrowse*> windows;
18     void loadDir(void);
19     void saveDir(void);
20     void setDiscDir(HWND parent = NULL);
21 douglas 284 void populate(HWND parent);
22 douglas 282 static DiscBrowse* which(HWND window);
23     static DiscBrowse* which(HWND window, LPARAM l);
24     static int CALLBACK browse(HWND dialog, UINT msg, LPARAM l, LPARAM d);
25     static INT_PTR CALLBACK start(HWND dialog, UINT msg, WPARAM w, LPARAM l);
26     static INT_PTR CALLBACK browse(HWND dialog, UINT msg, WPARAM w, LPARAM l);
27     protected:
28     string title;
29     HMENU popup;
30     unsigned number;
31     static unsigned count;
32     static map<unsigned, DiscBrowse*> browsers;
33 douglas 260 public:
34 douglas 282 DiscBrowse();
35     virtual ~DiscBrowse();
36     virtual void run(void);
37 douglas 260 };
38    
39     #endif // _DiscBrowse_h_