EasySizeDemoDlg.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // EasySizeDemoDlg.h : header file
  2. //
  3. #if !defined(AFX_EASYSIZEDEMODLG_H__8E227342_30AC_44D9_B83A_52321DCD07CE__INCLUDED_)
  4. #define AFX_EASYSIZEDEMODLG_H__8E227342_30AC_44D9_B83A_52321DCD07CE__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CEasySizeDemoDlg dialog
  10. class CEasySizeDemoDlg : public CDialog
  11. {
  12. DECLARE_EASYSIZE
  13. // Construction
  14. public:
  15. CEasySizeDemoDlg(CWnd* pParent = NULL); // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CEasySizeDemoDlg)
  18. enum { IDD = IDD_EASYSIZEDEMO_DIALOG };
  19. // NOTE: the ClassWizard will add data members here
  20. //}}AFX_DATA
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CEasySizeDemoDlg)
  23. protected:
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. protected:
  28. HICON m_hIcon;
  29. // Generated message map functions
  30. //{{AFX_MSG(CEasySizeDemoDlg)
  31. virtual BOOL OnInitDialog();
  32. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  33. afx_msg void OnPaint();
  34. afx_msg HCURSOR OnQueryDragIcon();
  35. afx_msg void OnSize(UINT nType, int cx, int cy);
  36. afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_EASYSIZEDEMODLG_H__8E227342_30AC_44D9_B83A_52321DCD07CE__INCLUDED_)