又VC++实现的基于TWAIN的扫描仪图像输入处理软件
源代码在线查看: position.h
// Position.h : header file
class CPosition : public CDialog
{
public:
CString m_nUNIT;
CPosition(CWnd* pParent = NULL);
BOOL Create(void);
void SetPosition2(RECT rt);
void SetPosition1(double n1,double n2,double n3,double n4);
void OnUpdateImageSize();
//{{AFX_DATA(CPosition)
enum { IDD = IDD_Position };
double m_nX0;
double m_nY0;
double m_nX10;
double m_nY10;
double m_nWidth;
double m_nLength;
double m_nWidth1;
double m_nLength1;
double m_nSize;
int x;
int m_nRd;
CString m_sType;
CString m_sScanType;
//}}AFX_DATA
//{{AFX_VIRTUAL(CPosition)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
int m_nID;
CWnd* m_pParent;
//{{AFX_MSG(CPosition)
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnClose();
afx_msg void OnEnter();
afx_msg void OnSelchangeComboUnit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};