#pragma once #include "TabPageSSL.h" #include "Sliders.h" #include "twglue.hpp" #include "SmartEdit.h" #include // CFeedPaperPage 对话框 class CFeedPaperPage : public CTabPageSSL { DECLARE_DYNAMIC(CFeedPaperPage) public: CFeedPaperPage(TwGlue glue,CWnd* pParent = nullptr); // 标准构造函数 virtual ~CFeedPaperPage(); void FeedPaperPageUpdate(int val); void FeedAutoDescrewUpdate(int val); void OnInitcmBoxOrentation(int selectIndex); CButton dogear; BOOL m_cbDoublePaper; BOOL m_cbStaple; BOOL m_cbRotation; BOOL m_cbSkew; CComboBox m_cmBoxOrentation; CLinkSlider m_sldSkrewDetecttion; CLinkSlider m_slider_dogear; int m_radioGroupScanMode; CSmartEdit m_editNum; TwGlue m_glue; afx_msg void OnBnClickedCkskewdetect(); afx_msg void OnBnClickedScanMode(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_PAGEFEEDPAPER }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 virtual BOOL OnInitDialog(); DECLARE_MESSAGE_MAP() private: virtual BOOL PreTranslateMessage(MSG* pMsg); int comboxduplux; /*std::function m_datachange;*/ public: afx_msg void OnCbnSelchangeCmborentation(); afx_msg void OnBnClickedDogeardetection(); afx_msg void OnBnClickedCkautopaper(); afx_msg void OnBnClickedBtnfeedmode(); };