-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCarTree.h
More file actions
executable file
·75 lines (59 loc) · 1.42 KB
/
Copy pathCarTree.h
File metadata and controls
executable file
·75 lines (59 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// CarTree.h : header file
#ifndef _INCLUDED_CCARTREE_H_
#define _INCLUDED_CCARTREE_H_
//
#include "sizecbar.h"
/////////////////////////////////////////////////////////////////////////////
// CCarTree window
#define TO_ID(x) (x - IDB_CAR)
class Car;
class Helmet;
class GPOObject;
class CCarTree : public CSizingControlBar
{
// Construction
public:
CCarTree();
HTREEITEM
insertInfoNode(HTREEITEM parent, LPSTR title, int bitmap);
void
InsertGPOObject(CDocument *doc, GPOObject *object);
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCarTree)
//}}AFX_VIRTUAL
CTreeCtrl m_CarTree;
// Implementation
public:
virtual ~CCarTree();
void
loadTree();
void
Reposition(CRect rc);
void
LoadImages();
CImageList *pImageList;
void
InsertCar(CDocument *pDoc, Car *car);
void
InsertHelmet(CDocument *pDoc, Helmet *helmet);
void
OnDblclkCartree(NMHDR *pNMHDR, LRESULT *pResult);
void
OnclkCartree(NMHDR *pNMHDR, LRESULT *pResult);
// Generated message map functions
protected:
//{{AFX_MSG(CCarTree)
afx_msg void
OnSize(UINT nType, int cx, int cy);
afx_msg int
OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
#endif