www.pudn.com > Geotest.rar > MainFrm.h


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAINFRM_H__7DE296C9_7568_4A92_B200_3A5DF7C6D4A3__INCLUDED_) 
#define AFX_MAINFRM_H__7DE296C9_7568_4A92_B200_3A5DF7C6D4A3__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: 
	CToolBar    m_mapToolBar; 
	BOOL m_Checked; 
	BOOL m_CheckedMapName; 
	//CGeoName m_geoname; 
	CDialogBar m_mapname; 
protected: 
//	CSplitterWnd m_wndSplitter; 
	 
public: 
// Operations 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	public: 
//	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs,CCreateContext* pContext); 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	 
	virtual ~CMainFrame(); 
	CStatusBar  m_wndStatusBar; 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected:  // control bar embedded members 
	 
	CToolBar    m_wndToolBar; 
	 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnMapTools(); 
	afx_msg void OnUpdateViewMaptools(CCmdUI* pCmdUI); 
	afx_msg void OnViewTree(); 
	afx_msg void OnViewGeoname(); 
	afx_msg void OnUpdateViewGeoname(CCmdUI* pCmdUI); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAINFRM_H__7DE296C9_7568_4A92_B200_3A5DF7C6D4A3__INCLUDED_)