#ifndef _PRINTMAN_PICKDLG_HPP_ #define _PRINTMAN_PICKDLG_HPP_ #ifndef _COMMON_WINDOWS_HPP_ #include #endif #ifndef _COMMON_BLOCK_HPP_ #include #endif #ifndef _COMMON_SMARTPOINTER_HPP_ #include #endif #ifndef _DIALOG_DYNAMICDIALOG_HPP_ #include #endif #ifndef _PRINTMAN_PRINTER_HPP_ #include #endif class PickDlg : private DynamicDialog { public: PickDlg(void); virtual ~PickDlg(); BOOL perform(GUIWindow &parentWindow,Block &printers,String &strPrinter); protected: virtual void init(void); private: enum{ComboBoxID=200}; PickDlg(const PickDlg &PickDlg); PickDlg &operator=(const PickDlg &PickDlg); void create(GUIWindow &parentWindow); WORD dlgCommand(DWORD commandID,CallbackData &someCallbackData); BOOL dlgInitDialog(CallbackData &someCallbackData); void dlgDestroyDialog(CallbackData &someCallbackData); String mPrinter; SmartPointer mParent; Block mPrinters; BOOL mCancel; }; #endif