MainFrm.h
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:2k
源码类别:
DirextX编程
开发平台:
Visual C++
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__F66466DD_C4B7_11D2_BF7C_0080C8E05391__INCLUDED_)
- #define AFX_MAINFRM_H__F66466DD_C4B7_11D2_BF7C_0080C8E05391__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "SystemImageList.h"
- #include "SplitterBar.h"
- #include "FileList.h"
- class CMainFrame : public CFrameWnd
- {
- public:
- CMainFrame();
- protected:
- DECLARE_DYNAMIC(CMainFrame)
- // Attributes
- public:
- // Operations
- public:
- CSystemImageList* GetImageList();
- CFileList* GetLeftPan()
- {
- return m_pListLeft;
- };
- CFileList* GetRightPan()
- {
- return m_pListRight;
- };
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected: // control bar embedded members
- CStatusBar m_wndStatusBar;
- CToolBar m_wndToolBar;
- CReBar m_wndReBar;
- CDialogBar m_wndDlgBar;
- CSystemImageList* m_pImageList;
- CSplitterBar* m_pSplit;
- CFileList* m_pListLeft;
- CFileList* m_pListRight;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSetFocus(CWnd *pOldWnd);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- inline CSystemImageList* CMainFrame::GetImageList()
- {
- return m_pImageList;
- }
- #endif // !defined(AFX_MAINFRM_H__F66466DD_C4B7_11D2_BF7C_0080C8E05391__INCLUDED_)