#pragma once #include "TabPageSSL.h" #include "twglue.hpp" #include // CBasicPage 对话框 class CBasicPage : public CTabPageSSL { DECLARE_DYNAMIC(CBasicPage) public: CBasicPage(std::function dataChange, CWnd* pParent = nullptr); // 标准构造函数 virtual ~CBasicPage(); CComboBox* m_cmBoxColorMode; CComboBox* m_cmBoxSS; CComboBox* m_cmBoxResultion; CComboBox* m_cmBoxDuplex; afx_msg void OnBnClickedBtnabout(); afx_msg void OnCbnSelchangeCmbcolortype(); afx_msg void OnCbnSelchangeCmbss(); afx_msg void OnCbnSelchangeCmbreslution(); afx_msg void OnCbnSelchangeCmbduplex(); public: int AreaNum; int DevnMax; // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_PAGEBASIC }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 virtual BOOL OnInitDialog(); DECLARE_MESSAGE_MAP() std::function m_dataChange; public: afx_msg void OnClickedBtndiscardsetting(); void SetScannerInfo(std::string hdVersion, std::string serialNum); private: std::string m_hdVersion; std::string m_serialNum; };