// Vance Thrift and Biller File Utility 2 // // Douglas Thrift // // $Id: DiscBrowse.h,v 1.4 2003/08/29 04:16:30 douglas Exp $ #ifndef _DiscBrowse_h_ #define _DiscBrowse_h_ #include "IndividualClient.h" class DiscBrowse { private: PROPSHEETPAGE wizard[2]; string disc; string discDir; int numberWidth; int nameWidth; int fileWidth; int sizeWidth; static map windows; void loadDir(void); void saveDir(void); void setDiscDir(HWND parent = NULL); static DiscBrowse* which(HWND window); static DiscBrowse* which(HWND window, LPARAM l); static int CALLBACK browse(HWND dialog, UINT msg, LPARAM l, LPARAM d); static INT_PTR CALLBACK start(HWND dialog, UINT msg, WPARAM w, LPARAM l); static INT_PTR CALLBACK browse(HWND dialog, UINT msg, WPARAM w, LPARAM l); protected: string title; HMENU popup; unsigned number; static unsigned count; static map browsers; public: DiscBrowse(); virtual ~DiscBrowse(); virtual void run(void); }; #endif // _DiscBrowse_h_