TextDlg.h
Upload User: creatstage
Upload Date: 2022-05-21
Package Size: 238k
Code Size: 2k
Category:

Special Effects

Development Platform:

Visual C++

  1. // TextDlg.h : header file
  2. //
  3. #if !defined(AFX_TEXTDLG_H__76C71379_9646_44C8_81BB_68A59FFDAC1A__INCLUDED_)
  4. #define AFX_TEXTDLG_H__76C71379_9646_44C8_81BB_68A59FFDAC1A__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CTextDlg dialog
  10. class CTextDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CTextDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CTextDlg)
  17. enum { IDD = IDD_TEXT_DIALOG };
  18. CEdit m_spiltcontent;
  19. CEdit m_spiltfile;
  20. CEdit m_cutnumber;
  21. CEdit m_cutfile;
  22. CEdit m_cutcontent;
  23. CButton m_button;
  24. int m_num;
  25. CString m_pathname;
  26. //}}AFX_DATA
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CTextDlg)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. HICON m_hIcon;
  35. // Generated message map functions
  36. //{{AFX_MSG(CTextDlg)
  37. virtual BOOL OnInitDialog();
  38. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  39. afx_msg void OnPaint();
  40. afx_msg HCURSOR OnQueryDragIcon();
  41. afx_msg void OnRadio1();
  42. afx_msg void OnRadio2();
  43. virtual void OnOK();
  44. afx_msg void OnOpenFile();
  45. afx_msg void OnChooseCutcontent();
  46. afx_msg void OnOpenSpilefile();
  47. afx_msg void OnSplitcontent();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. private:
  51. CString m_spiltFileName;
  52. CString m_filename;
  53. BOOL Spilt();
  54. BOOL Cut();
  55. int m_count;
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_TEXTDLG_H__76C71379_9646_44C8_81BB_68A59FFDAC1A__INCLUDED_)