Page3.h
上传用户:sunh8215
上传日期:2010-02-13
资源大小:1616k
文件大小:2k
源码类别:

酒店行业

开发平台:

Visual C++

  1. #if !defined(AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_)
  2. #define AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Page3.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CPage3 dialog
  10. class CPage3 : public CDialog
  11. {
  12. DECLARE_DYNCREATE(CPage3)
  13. // Construction
  14. public:
  15. void DrawTreeImage(CDC *pDC, CPoint pntStart);
  16. void DrawFrameAndText(CDC *pDC, CPoint LeftTop, CPoint RightButtom,const CString& strDrawedText);
  17. static CPoint GetImgOrgPoint();
  18. void DrawFrameImg(CDC *pDC,CRect rect);
  19. void DrawRangeText(CRect rect,CString strTtext,CDC*pDC)
  20. {//函数重载
  21. DrawRangeText(rect.left,rect.top,rect.right,rect.bottom,strTtext,pDC);
  22. }
  23. void DrawRangeText(long x1,long y1,long x2,long y2,CString strTtext,CDC*pDC);
  24. void DrawFrameImage(CDC *pDC,CRect rect);
  25. CPage3(CWnd* pParent = NULL);   // standard constructor
  26. //属性
  27. // static CMapPtrToPtr m_RanglePtr;  //映射对象 
  28. // Dialog Data
  29. //{{AFX_DATA(CPage3)
  30. enum { IDD = IDD_PAGE3 };
  31. int m_ShowType;
  32. //}}AFX_DATA
  33.     static long xStart;
  34. static long yStart;
  35.     static CPoint pntArray[30];
  36. static BOOL bDrawTreeImage;//是否画树型图
  37. static BOOL bDrawFrameImage;//是否画框架图
  38. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(CPage3)
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. // Generated message map functions
  47. //{{AFX_MSG(CPage3)
  48. afx_msg void OnRadio();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_PAGE3_H__61858C43_F2D7_42AF_AEC7_C571B7DDE546__INCLUDED_)