www.pudn.com > zhuabao.rar > MainFrm.h
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__E8EFD443_80A2_4798_9144_089270E31A06__INCLUDED_)
#define AFX_MAINFRM_H__E8EFD443_80A2_4798_9144_089270E31A06__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
void AddToComboBox(CString str);
CComboBox* GetComboBox();
CListCtrl* GetList();
CEdit* GetEdit();
CTreeCtrl* GetTree();
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CMyToolBar m_wndToolBar;
// Generated message map functions
protected:
CListCtrl m_wndList;
CEdit m_wndEdit;
CTreeCtrl m_wndTree;
CCoolBar m_wndMyBarLeft;
CCoolBar m_wndMyBarBottom;
CCoolBar m_wndMyBarRight;
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnShowleft();
afx_msg void OnShowbottom();
afx_msg void OnUpdateShowbottom(CCmdUI* pCmdUI);
afx_msg void OnUpdateShowleft(CCmdUI* pCmdUI);
//}}AFX_MSG
afx_msg void OnListCtrlClick(NMHDR* pNMHDR, LRESULT* pResult); //列表框消息响应函数
afx_msg void OnSelchangeCombo();//组合框消息响应函数
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__E8EFD443_80A2_4798_9144_089270E31A06__INCLUDED_)