ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/DiscBrowse.h
Revision: 283
Committed: 2003-08-28T21:16:30-07:00 (19 years, 3 months ago) by douglas
Content type: text/x-c
File size: 1018 byte(s)
Log Message:
Icons, I like icons!

File Contents

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