ie6mdi.h

来自「VC++实现的多页面浏览器....实现了多种功能」· C头文件 代码 · 共 79 行

H
79
字号
// IE6mdi.h : main header file for the IE6MDI application
//

#if !defined(AFX_IE6MDI_H__5C1A048F_FE21_11D2_8E66_00805F254148__INCLUDED_)
#define AFX_IE6MDI_H__5C1A048F_FE21_11D2_8E66_00805F254148__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

///////////////////////////////////////////////////
// Note for the shareware version : just define 
// __SHAREWARE__
///////////////////////////////////////////////////

//#define __SHAREWARE__
// the build number allows to give a new shareware version, as long as the 
// build number increases !
#define BUILD_NUMBER 1

#ifdef __SHAREWARE__
	#include "shareware.h" // shareware version !
#endif

/////////////////////////////////////////////////////////////////////////////
// CIE6mdiApp:
// See IE6mdi.cpp for the implementation of this class
//

class CIE6mdiApp : public CWinApp
{
public:
	int CreateFavorites();
#ifdef __SHAREWARE__
	CShareware m_Shareware; // for the use as a shareware
#endif
	int m_iRemindWindow;
	CIE6mdiApp();
	CStringArray m_astrFavoriteURLs; // list of the favorites
	int BuildFavoritesMenu(LPCTSTR pszPath, int nStartPos, CMenu* pMenu);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CIE6mdiApp)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	virtual BOOL OnDDECommand(LPTSTR lpszCommand);
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CIE6mdiApp)
	afx_msg void OnAppAbout();
	afx_msg void OnAddFavorite();
	afx_msg void OnRemoveFavorite();
	afx_msg void OnRefreshFavorite();
	afx_msg void OnFavorite(UINT nID);
	afx_msg void OnWindowRemindwindow();
	afx_msg void OnFileNew2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	CString m_strFavoritesPath;
};


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

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

#endif // !defined(AFX_IE6MDI_H__5C1A048F_FE21_11D2_8E66_00805F254148__INCLUDED_)

⌨️ 快捷键说明

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