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


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAINFRM_H__ECC195B3_BEA5_42B8_8ED6_6C53C6F07DD0__INCLUDED_) 
#define AFX_MAINFRM_H__ECC195B3_BEA5_42B8_8ED6_6C53C6F07DD0__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "AviToolbar.h"		//自定义工具栏类 
#include "AnimateIcon.h"	//动态图标类 
#include "MyBarLeftBottom.h" 
 
class CMainFrame : public CCJFrameWnd 
{ 
	 
protected: // create from serialization only 
	CMainFrame(); 
	DECLARE_DYNCREATE(CMainFrame) 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	BOOL InitializeDockingWindows(); 
	virtual ~CMainFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
	CStatusBar			m_wndStatusBar; 
	CAviToolbar		    m_wndToolBar; 
	//CCJToolBar		m_wndToolBar; 
	//CToolBar			m_wndToolBar; 
	CCoolMenuManager	m_menuManager;		// cool (bitmap button) menus 
	CImageList			m_TabImages; 
	CCJTabCtrlBar		m_wndWorkspace; 
	CCJTabCtrlBar		m_wndNavigation; 
	CMyBarLeftBottom	m_wndOutput1; 
	CComboBox*			m_pComboBox; 
//	 
	CAnimateIcon m_animIcon; 
	UINT m_timerID; 
	WINDOWPLACEMENT m_OldWndpl;	//全屏 
	CRect m_FullScreenRect;		//全屏 
	BOOL m_bFullScreen;			//全屏 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMainFrame) 
	afx_msg void OnToolbarDropDown(NMTOOLBAR* pnmh, LRESULT* plRes);//DropDown功能 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnViewBar1(); 
	afx_msg void OnUpdateViewBar1(CCmdUI* pCmdUI); 
	afx_msg void OnViewBar2(); 
	afx_msg void OnUpdateViewBar2(CCmdUI* pCmdUI); 
	afx_msg void OnViewBar3(); 
	afx_msg void OnUpdateViewBar3(CCmdUI* pCmdUI); 
	afx_msg void OnButton(); 
	afx_msg void OnSetskin(); 
	afx_msg void OnExit(); 
	afx_msg void OnFileMruBuy(); 
	afx_msg void OnUserSetup(); 
	afx_msg void OnFileSavewor(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnMapFullscreen(); 
	afx_msg void OnMapMoving(); 
	afx_msg void OnUpdateMapMoving(CCmdUI* pCmdUI); 
	afx_msg void OnMapZoomin(); 
	afx_msg void OnUpdateMapZoomin(CCmdUI* pCmdUI); 
	afx_msg void OnMapZoomout(); 
	afx_msg void OnUpdateMapZoomout(CCmdUI* pCmdUI); 
	afx_msg void OnEditCopy(); 
	afx_msg void OnEditCut(); 
	afx_msg void OnEditPaste(); 
	afx_msg void OnClose(); 
	afx_msg void OnFileOpen(); 
	afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI); 
	afx_msg void OnAppEmail(); 
	afx_msg void OnAppWebsite(); 
 
	//}}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__ECC195B3_BEA5_42B8_8ED6_6C53C6F07DD0__INCLUDED_)