36 lines
634 B
C
36 lines
634 B
C
|
#pragma once
|
|||
|
|
|||
|
#include <Windows.h>
|
|||
|
#include <string>
|
|||
|
|
|||
|
#include "DlgPage.h"
|
|||
|
|
|||
|
// CDlgIndicator 对话框
|
|||
|
namespace gb
|
|||
|
{
|
|||
|
class scanner_cfg;
|
|||
|
}
|
|||
|
|
|||
|
class dlg_cfg_mgr: public dlg_base
|
|||
|
{
|
|||
|
gb::scanner_cfg* cfg_;
|
|||
|
std::wstring label_;
|
|||
|
|
|||
|
BOOL handle_message(UINT msg, WPARAM wp, LPARAM lp) override;
|
|||
|
void handle_command(WORD code, WORD id, HANDLE ctrl);
|
|||
|
void handle_notify(UINT id, LPNMHDR pnhdr);
|
|||
|
void layout(void);
|
|||
|
|
|||
|
void on_init_dlg(void);
|
|||
|
void on_paint(HDC hdc);
|
|||
|
void on_sel_changed(int sel);
|
|||
|
void on_del_selected(void);
|
|||
|
void on_del_all(void);
|
|||
|
|
|||
|
public:
|
|||
|
dlg_cfg_mgr(gb::scanner_cfg* cfg, HWND parent);
|
|||
|
~dlg_cfg_mgr();
|
|||
|
|
|||
|
public:
|
|||
|
};
|