mywindow.h
来自「这个程序主要是利用MFC编译的一个可以定制浏览器窗口的程序」· C头文件 代码 · 共 54 行
H
54 行
//{{AFX_INCLUDES()
#include "webbrowser2.h"
//}}AFX_INCLUDES
#if !defined(AFX_MYWINDOW_H__18BB5DD4_0BE6_46F9_9BA1_48B14B4032A4__INCLUDED_)
#define AFX_MYWINDOW_H__18BB5DD4_0BE6_46F9_9BA1_48B14B4032A4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyWindow.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyWindow dialog
class CMyWindow : public CDialog
{
// Construction
public:
CMyWindow(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMyWindow)
enum { IDD = IDD_WINDOW };
CWebBrowser2 m_Browser;
//}}AFX_DATA
CString m_cszURL;
HICON m_hIcon;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyWindow)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyWindow)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYWINDOW_H__18BB5DD4_0BE6_46F9_9BA1_48B14B4032A4__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?