123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
-
- // MFCApplication1Dlg.h: 头文件
- //
- #pragma once
- #define WM_SHOWINFO (WM_USER+0x1)
- #define WM_SHOWSCANINFO (WM_USER+0x2)
- #define WM_PROCESS (WM_USER+0x3)
- #define WM_SHOWREPEATINFO (WM_USER+0x4)
- #define WM_SHOWCSVINFO (WM_USER+0x5)
- // CMFCApplication1Dlg 对话框
- class CMFCApplication1Dlg : public CDialogEx
- {
- // 构造
- public:
- CMFCApplication1Dlg(CWnd* pParent = nullptr); // 标准构造函数
- // 对话框数据
- #ifdef AFX_DESIGN_TIME
- enum { IDD = IDD_MFCAPPLICATION1_DIALOG };
- #endif
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- // 实现
- protected:
- HICON m_hIcon;
- // 生成的消息映射函数
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg LRESULT OnShowInfo(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnShowScanInfo(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnProcessInfo(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnShowRepeatInfo(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnShowCvsInfo(WPARAM wParam, LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnBnClickedOk();
- CString m_strMsg;
- CString m_strScanMsg;
- CString m_strRepeatMsg;
- CString m_strCsvMsg;
- void UpdateMsg(CString strMsg);
- void UpdateScanMsg(CString strMsg);
- afx_msg void OnBnClickedCancel();
- void SelectFolder(HWND hwnd, CString& lpszFolder);
- void SelectFile(CString& lpszFile);
- void SelectCsvFile(CString& lpszFile);
- afx_msg void OnBnClickedBtnTxt();
- afx_msg void OnBnClickedBtnPdf();
-
- CString m_strTextPath;
- CString m_strPdfDir;
- CString m_strPageNumber;
- CString m_strModePath;
- CString m_strImgPath;
- CString m_strCutPath;
- CString m_strRepeatDir;
- afx_msg void OnBnClickedBtnModepath();
- afx_msg void OnBnClickedBtnImgpath();
- afx_msg void OnBnClickedBtnCutpath();
- afx_msg void OnBnClickedBtnScan();
- afx_msg void OnBnClickedBtnRepeatpath();
- void FormatScanMsg(const char * szFmt, ...);
- void FormatRepeatMsg(const char *szFmt, ...);
- void FormatCsvMsg(const char *szFmt, ...);
- afx_msg void OnBnClickedBtnRepeat();
- afx_msg void OnBnClickedBtnCsvpath();
- afx_msg void OnBnClickedBtnCsvfiledir();
- afx_msg void OnBnClickedBtnBaiduIdentify();
- };
|