📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__5C1A0493_FE21_11D2_8E66_00805F254148__INCLUDED_)
#define AFX_MAINFRM_H__5C1A0493_FE21_11D2_8E66_00805F254148__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)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL DestroyWindow();
//}}AFX_VIRTUAL
// Implementation
public:
POSITION GetFreePos();
CList<CString,CString&> m_lUrl; // URL list used to save LTHM files
void SetAddress(LPCTSTR lpszUrl);
void StartAnimation();
void StopAnimation();
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
public:
void DoNothing();
void SaveUrlList(CString file);
int m_delay;
CString m_file;
void OnMyWindowList();
CComboBoxEx m_wndAddress; // used as address bar
CToolBar m_wndToolBar; // navigation bar
protected: // control bar embedded members
CStatusBar m_wndStatusBar; // no problemo
CReBar m_wndReBar; // global bar containing everything
CAnimateCtrl m_wndAnimate; //the AVI
// Generated message map functions
protected:
void AddURL(CString url);
CStringArray HistoryList;
void GetURL();
CString CheckUrl(CString URL);
int IsLogoPlayed;
//{{AFX_MSG(CMainFrame)
afx_msg void OnNewAddress();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnNewAddressEnter();
afx_msg void OnFileOpenurllist();
afx_msg void OnFileSaveurllist();
afx_msg void OnFileOpenadocument();
afx_msg void OnFileChangethelogo();
afx_msg void OnFileDefaultlogo();
afx_msg void OnNothing();
afx_msg void OnDebug();
afx_msg void OnClose();
afx_msg void OnFavFloat();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnWindowAutosave();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDropDown(NMHDR* pNotifyStruct, LRESULT* pResult);
//}}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__5C1A0493_FE21_11D2_8E66_00805F254148__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -