[go: up one dir, main page]

Menu

[r25]: / trunk / VTS3 / ChildFrm.h  Maximize  Restore  History

Download this file

89 lines (74 with data), 2.5 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
76
77
78
79
80
81
82
83
84
85
86
87
88
// ChildFrm.h : interface of the CChildFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHILDFRM_H__BDE65086_B82F_11D3_BE52_00A0C95A9812__INCLUDED_)
#define AFX_CHILDFRM_H__BDE65086_B82F_11D3_BE52_00A0C95A9812__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "FrameContext.h"
// forward definitions
class CSummaryView;
class CDetailView;
class CHexView;
class CChildFrame : public CMDIChildWnd
{
DECLARE_DYNCREATE(CChildFrame)
public:
CChildFrame();
// Attributes
public:
CSplitterWnd m_wndSplit1;
CSplitterWnd m_wndSplit2; // embedded in the first
CFrameContext* m_frameContext; // frame context
CSummaryView* m_pSummaryView;
CDetailView* m_pDetailView;
CHexView* m_pHexView;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChildFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void ActivateFrame(int nCmdShow = -1);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CChildFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CChildFrame)
afx_msg void OnCancelMode();
afx_msg void OnUpdateEditDelete(CCmdUI* pCmdUI);
afx_msg void OnUpdateEditPorts(CCmdUI* pCmdUI);
afx_msg void OnUpdateEditNames(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewFirstFrame(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewLastFrame(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewNextFrame(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewPrevFrame(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewSend(CCmdUI* pCmdUI);
afx_msg void OnEditDelete();
afx_msg void OnEditPorts();
afx_msg void OnEditNames();
afx_msg void OnEditPreferences();
afx_msg void OnViewFirstFrame();
afx_msg void OnViewPrevFrame();
afx_msg void OnViewNextFrame();
afx_msg void OnViewLastFrame();
afx_msg void OnSendNewPacket();
afx_msg void OnSendSelectPort(UINT uID);
afx_msg void OnSendSelectPacket(UINT uID);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHILDFRM_H__BDE65086_B82F_11D3_BE52_00A0C95A9812__INCLUDED_)