⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainfrm.h

📁 这是一个用VC++编写的FLSHPLAYER
💻 H
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__DBC39465_EA87_474E_8836_0CA6E4C92D5E__INCLUDED_)
#define AFX_MAINFRM_H__DBC39465_EA87_474E_8836_0CA6E4C92D5E__INCLUDED_

#include "MainToolBar.h"
#include "LOGO\Logo.h"	// Added by ClassView

#include "FlashPlayView.h"
#include "NoMenuToolBar.h"

// MENUEX_ADD - Include header file
#include "MenuEx\BCMenu.h"

#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:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	HMENU NewMenu();
	void CompactModeOn();
	void CompactModeOff();
	BOOL m_bIsCompactMode;
	void FullScreenModeOff();
	void FullScreenModeOn();
	bool m_bFullScreenMode;
	CString m_strCur;
	CStatusBar * GetStatusBar();
	CMainToolBar * GetToolBar1();
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CStatusBar  m_wndStatusBar;
	CMainToolBar    m_wndToolBar;

public:
	BOOL m_bXPMenuStyle;
	// MENUEX_ADD - Add instance of class
	BCMenu m_menu;

// Generated message map functions
protected:
	CLogo m_wndLogo;
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnViewFullScreen();
	afx_msg void OnUpdateViewFullScreen(CCmdUI* pCmdUI);
	afx_msg void OnClose();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnViewCompactMode();
	afx_msg void OnUpdateViewCompactMode(CCmdUI* pCmdUI);
	afx_msg void OnNcLButtonDblClk(UINT nHitTest, CPoint point);
	//}}AFX_MSG
    afx_msg void OnUpdateCurFrame(CCmdUI *pCmdUI);

    // LOGO SUPPORT
	afx_msg LRESULT OnLogoClick(WPARAM, LPARAM);
    // LOGO SUPPORT

	DECLARE_MESSAGE_MAP()
private:
    // used for full-screen mode
	LONG m_nWndStyle;
	bool m_bChildMax;
	CNoMenuToolBar* m_pwndFullScreenBar;
	CRect m_mainRect;
	bool m_bToolBarWasVisible;
	bool m_bStatusBarWasVisible;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__DBC39465_EA87_474E_8836_0CA6E4C92D5E__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -