1 |
douglas |
260 |
// Vance Thrift and Biller File Utility 2 |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
douglas |
283 |
// $Id: DiscBrowse.h,v 1.4 2003/08/29 04:16:30 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 |
douglas |
283 |
int numberWidth; |
19 |
|
|
int nameWidth; |
20 |
|
|
int fileWidth; |
21 |
|
|
int sizeWidth; |
22 |
douglas |
282 |
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 |
douglas |
260 |
public: |
38 |
douglas |
282 |
DiscBrowse(); |
39 |
|
|
virtual ~DiscBrowse(); |
40 |
|
|
virtual void run(void); |
41 |
douglas |
260 |
}; |
42 |
|
|
|
43 |
|
|
#endif // _DiscBrowse_h_ |