www.pudn.com > DEM_TDS.rar > MainFrm.h, change:2007-07-08,size:2937b


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAINFRM_H__16E20439_A29D_4CBF_AE4C_7711AF86A12A__INCLUDED_) 
#define AFX_MAINFRM_H__16E20439_A29D_4CBF_AE4C_7711AF86A12A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "CoolTabCtrl.h" 
#include "ComboToolBar.h" 
#include "DEMEdit.h" 
#include "PointAttrib.h" 
#include "DEMView.h" 
#include "FullScreenHandler.h" 
 
class CMainFrame : public CMDIFrameWnd 
{ 
	friend class CDEMView; 
	DECLARE_DYNAMIC(CMainFrame) 
public: 
	CMainFrame(); 
// Attributes 
public: 
 
// Operations 
public: 
	BOOL m_bFullScreen; 
	WINDOWPLACEMENT m_wpPrev; 
    CRect m_FullScreenWindowRect; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	CComboToolBar drawtoolbar; 
	CCoolTabCtrl	pagetabctrl; 
	virtual ~CMainFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
	CDEMEdit	dataattribbar; 
	CDEMEdit	showattribbar; 
public:  // control bar embedded members 
	void FullScreen(); 
	void ExitFullScreen(); 
	CPointAttrib pointattrib; 
	CStatusBar  m_wndStatusBar; 
	CToolBar    m_wndToolBar; 
	CToolBar	showtoolbar; 
	CToolBar	edittoolbar; 
	CCoolBar	treecoolbar; 
	CCoolBar	statuscoolbar; 
// Generated message map functions 
protected: 
 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnShowedittoolbar(); 
	afx_msg void OnUpdateShowedittoolbar(CCmdUI* pCmdUI); 
	afx_msg void OnShowshowtoolbar(); 
	afx_msg void OnUpdateShowshowtoolbar(CCmdUI* pCmdUI); 
	afx_msg void OnShowstatuscoolbar(); 
	afx_msg void OnUpdateShowstatuscoolbar(CCmdUI* pCmdUI); 
	afx_msg void OnShowdrawtoolbar(); 
	afx_msg void OnUpdateShowdrawtoolbar(CCmdUI* pCmdUI); 
	afx_msg void OnShowtreecoolbar(); 
	afx_msg void OnUpdateShowtreecoolbar(CCmdUI* pCmdUI); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnSelchangeShowscale(); 
	afx_msg void OnSelchangeMapcolor(); 
	afx_msg void OnEditchangeShowscale(); 
	afx_msg void OnFileOpen(); 
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); 
	afx_msg void OnUpdateShowscale(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateMapcolor(CCmdUI* pCmdUI); 
	afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI); 
	afx_msg void OnFullscreem(); 
	afx_msg void OnUpdateFullscreem(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__16E20439_A29D_4CBF_AE4C_7711AF86A12A__INCLUDED_)