// Vance Thrift and Biller File Utility 2 // // Douglas Thrift // // $Id: DiscBrowse.h,v 1.3 2003/08/26 06:41:12 douglas Exp $ #ifndef _DiscBrowse_h_ #define _DiscBrowse_h_ #include "IndividualClient.h" class DiscBrowse { private: PROPSHEETPAGE wizard[2]; string disc; string discDir; 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_