www.pudn.com > FullScreen.rar > MainFrm.h, change:2010-10-16,size:1622b


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAINFRM_H__47D0A4D9_A97D_4DCD_B883_9B1086B07380__INCLUDED_) 
#define AFX_MAINFRM_H__47D0A4D9_A97D_4DCD_B883_9B1086B07380__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CMainFrame : public CMDIFrameWnd 
{ 
	DECLARE_DYNAMIC(CMainFrame) 
public: 
	CMainFrame(); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	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; 
 
 
// Generated message map functions 
protected: 
 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
public: 
	bool m_isFull;//是否最大 
	CRect m_fullScreenRect;//全屏大小 
	WINDOWPLACEMENT m_oldPos;//窗口全屏前位置 
	void FullScreen(); 
	void noFullScreen(); 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAINFRM_H__47D0A4D9_A97D_4DCD_B883_9B1086B07380__INCLUDED_)