www.pudn.com > PressMonitor_q.zip > MainFrm.h


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAINFRM_H__8D561A48_6378_11D0_99A1_000021004832__INCLUDED_) 
#define AFX_MAINFRM_H__8D561A48_6378_11D0_99A1_000021004832__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "MainToolBar.h" 
#include "XStatusBar.h" 
 
#include "ColorStatic.h" 
 
 
class CMainFrame : public CFrameWnd 
{ 
	 
protected: // create from serialization only 
	CMainFrame(); 
	DECLARE_DYNCREATE(CMainFrame) 
 
// Attributes 
public: 
	CColorStatic	m_wndFault; 
	UINT			m_nCurrentViewID; 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void OnSwithView(UINT nCmdID); 
	void OnUpdateSwithViewUI(CCmdUI* pCmdUI); 
	virtual ~CMainFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected:  // control bar embedded members 
	XStatusBar		m_wndStatusBar; 
	CMainToolBar    m_wndToolBar; 
	CToolBar		m_wndToolBar2; 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnClose(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
CMainFrame* GetMainFrame(); 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAINFRM_H__8D561A48_6378_11D0_99A1_000021004832__INCLUDED_)