This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

41
printman/PICKDLG.HPP Normal file
View File

@@ -0,0 +1,41 @@
#ifndef _PRINTMAN_PICKDLG_HPP_
#define _PRINTMAN_PICKDLG_HPP_
#ifndef _COMMON_WINDOWS_HPP_
#include <common/windows.hpp>
#endif
#ifndef _COMMON_BLOCK_HPP_
#include <common/block.hpp>
#endif
#ifndef _COMMON_SMARTPOINTER_HPP_
#include <common/pointer.hpp>
#endif
#ifndef _DIALOG_DYNAMICDIALOG_HPP_
#include <dialog/dyndlg.hpp>
#endif
#ifndef _PRINTMAN_PRINTER_HPP_
#include <printman/printer.hpp>
#endif
class PickDlg : private DynamicDialog
{
public:
PickDlg(void);
virtual ~PickDlg();
BOOL perform(GUIWindow &parentWindow,Block<Printer> &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<GUIWindow> mParent;
Block<Printer> mPrinters;
BOOL mCancel;
};
#endif