twain3.0/huagao/CIndicatorDlg.h

29 lines
667 B
C
Raw Normal View History

#pragma once
#include <functional>
// CIndicatorDlg 对话框
class CIndicatorDlg : public CDialogEx
{
DECLARE_DYNAMIC(CIndicatorDlg)
public:
CIndicatorDlg(std::function<void()> stop = std::function<void()>(), CWnd* pParent = nullptr); // 标准构造函数
virtual ~CIndicatorDlg();
void setindicatortext(int aquire, int updata);
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_INDICATOR };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
afx_msg void OnBnClickedBtnstopscan();
std::function<void()> m_stop;
public:
afx_msg void OnClose();
};