doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PropTreeView.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "PropTree.h"
4 // CPropTreeView view
5 
6 #define IDC_PROPERTYTREE 100
7 
8 class CPropTreeView : public CFormView
9 {
10  DECLARE_DYNCREATE(CPropTreeView)
11 
12 protected:
14 
15 protected:
16  CPropTreeView(); // protected constructor used by dynamic creation
17  virtual ~CPropTreeView();
18 
19 public:
20  virtual void OnDraw(CDC* pDC); // overridden to draw this view
21 #ifdef _DEBUG
22  virtual void AssertValid() const;
23  virtual void Dump(CDumpContext& dc) const;
24 #endif
25 
27 
28 protected:
29  DECLARE_MESSAGE_MAP()
30 
31 public:
32  virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName,
33  DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID,
34  CCreateContext* pContext = NULL);
35 
36  afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
37  afx_msg void OnSize(UINT nType, int cx, int cy);
38  afx_msg void OnPaint();
39 };
40 
41 
afx_msg void OnPaint()
CONST PIXELFORMATDESCRIPTOR UINT
Definition: win_qgl.cpp:47
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)
#define const
Definition: getdate.c:251
DWORD
Definition: win_qgl.cpp:61
#define BOOL
Definition: mprintf.c:71
afx_msg void OnSize(UINT nType, int cx, int cy)
#define NULL
Definition: Lib.h:88
CPropTree m_Tree
Definition: PropTreeView.h:13
CPropTree & GetPropertyTreeCtrl()
Definition: PropTreeView.h:26
virtual void OnDraw(CDC *pDC)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct)
virtual ~CPropTreeView()