ChildFrame.h
上传用户:kelijie
上传日期:2007-01-01
资源大小:123k
文件大小:1k
源码类别:

图形图象

开发平台:

Visual C++

  1. #if !defined(AFX_CHILDFRAME_H__8EF22F06_EDB6_11D2_8F46_00805FBDCBE4__INCLUDED_)
  2. #define AFX_CHILDFRAME_H__8EF22F06_EDB6_11D2_8F46_00805FBDCBE4__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // ChildFrame.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CChildFrame frame
  10. class _declspec(dllexport) CChildFrame : public CFrameWnd
  11. {
  12. public:
  13. CChildFrame();           // protected constructor used by dynamic creation
  14. DECLARE_DYNCREATE(CChildFrame)
  15. // Attributes
  16. public:
  17. int    m_iTypeID;
  18. int    m_iIndex;
  19. // Operations
  20. public:
  21.     void  SetTypeID(int iTypeID){m_iTypeID = iTypeID;};
  22. int   GetTypeID(void){return m_iTypeID;};
  23. void  SetIndex(int iIndex){m_iIndex = iIndex;};
  24. int   GetIndex(void){return m_iIndex;};
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CChildFrame)
  28. public:
  29. virtual BOOL DestroyWindow();
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. public:
  33. virtual ~CChildFrame();
  34. // Generated message map functions
  35. //{{AFX_MSG(CChildFrame)
  36. // NOTE - the ClassWizard will add and remove member functions here.
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. /////////////////////////////////////////////////////////////////////////////
  41. //{{AFX_INSERT_LOCATION}}
  42. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  43. #endif // !defined(AFX_CHILDFRAME_H__8EF22F06_EDB6_11D2_8F46_00805FBDCBE4__INCLUDED_)