twain2/FeederPaper.h

49 lines
2.3 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
// FeederPaper 对话框
class FeederPaper : public CDialog
{
DECLARE_DYNAMIC(FeederPaper)
public:
FeederPaper(CWnd* pParent = nullptr); // 标准构造函数
virtual ~FeederPaper();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DIALOG_PAGEFEEDPAPER };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
bool getDoubleFeeder();
bool getBindingDetectable();
bool getBackFlip180();
bool getSkrewDetect();
int getSkrewDetectLevel();
int getOrentation();
int getScanCount();
private:
CComboBox m_cmBoxOrentation;
CSliderCtrl m_sldSkrewDetecttion;
void OnInitcmBoxOrentation(int selectIndex);
void OnInitsldSkrewDetection(int value);
bool m_DoubleFeeder;// = false;
bool m_BingdingDetect;// = false;
bool m_BackFlip;// = false;
bool m_SkrewDetect;// = false;
int m_Orentation;// = -1;
int m_ScanCount;// = 0;
public:
afx_msg void OnBnClickedRdconsistscan();
afx_msg void OnBnClickedRdspecifyscannum();
afx_msg void OnBnClickedCkskewdetect();
virtual BOOL PreTranslateMessage(MSG* pMsg);
};