ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/DiscBrowse.h
Revision: 282
Committed: 2003-08-25T23:41:12-07:00 (21 years, 10 months ago) by douglas
Content type: text/x-c
File size: 952 byte(s)
Log Message:
Inheritance and such, ack evil window looping makes my head hurt.

File Contents

# User Rev Content
1 douglas 260 // Vance Thrift and Biller File Utility 2
2     //
3     // Douglas Thrift
4     //
5 douglas 282 // $Id: DiscBrowse.h,v 1.3 2003/08/26 06:41:12 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 disc;
17     string discDir;
18     static map<HWND, DiscBrowse*> windows;
19     void loadDir(void);
20     void saveDir(void);
21     void setDiscDir(HWND parent = NULL);
22     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_