PropPage1.h
上传用户:wujian85
上传日期:2010-04-08
资源大小:227k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. #if !defined(AFX_PROPPAGE1_H__91A4B003_0AB6_11D2_8412_0000B43382FE__INCLUDED_)
  2. #define AFX_PROPPAGE1_H__91A4B003_0AB6_11D2_8412_0000B43382FE__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // PropPage1.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CPropPage1 dialog
  10. class Doc;
  11. class View;
  12. class CPropPage1 : public CDialog
  13. {
  14. // Construction
  15. public:
  16. CPropPage1(CWnd* pParent = NULL);   // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CPropPage1)
  19. enum { IDD = IDD_PROP_PAGE1 };
  20. CEdit wndEditHeight;
  21. CEdit wndEditY;
  22. CEdit wndEditWidth;
  23. CEdit wndEditX;
  24. BOOL bBold;
  25. BOOL bItalic;
  26. BOOL bUnderline;
  27. CString csFontName;
  28. CString csFontSize;
  29. //}}AFX_DATA
  30. Doc * pDoc;
  31. View * pView;
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CPropPage1)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CPropPage1)
  42. afx_msg void OnBtFont();
  43. virtual void OnCancel();
  44. virtual void OnOK();
  45. afx_msg void OnKillFocus(CWnd* pNewWnd);
  46. afx_msg void OnChkBold();
  47. afx_msg void OnChkItalic();
  48. afx_msg void OnChkUnderline();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_PROPPAGE1_H__91A4B003_0AB6_11D2_8412_0000B43382FE__INCLUDED_)