mainfrm.h
来自「断点.zip 断点续传的示例.可实现局网内的断点续传 源代码」· C头文件 代码 · 共 71 行
H
71 行
// MainFrm.h : interface of the CMainFrame class
//
/*****************************************************************
//作者:赵明
//EMAIL:zmpapaya@hotmail.com;papaya_zm@sina.com
/****************************************************************/
#include "charbar.h"
/////////////////////////////////////////////////////////////////////////////
#define WM_ADDLIST WM_USER+3
#define WM_DELETELIST WM_USER+4
#if !defined(AFX_MAINFRM_H__B6C145B1_EC81_4224_9A31_9AD7D225CC0C__INCLUDED_)
#define AFX_MAINFRM_H__B6C145B1_EC81_4224_9A31_9AD7D225CC0C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Online.h"
//#define WM_AGE1 WM_USER+8
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
COnLine m_wndOnline;
// Operations
public:
charbar m_sendbar;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
CStatusBar m_wndStatusBar;
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CToolBar m_wndToolBar;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
// afx_msg void OnRemoveMember(WPARAM wParam, LPARAM lParam);
afx_msg void OnAddMember(WPARAM wParam, LPARAM lParam);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}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__B6C145B1_EC81_4224_9A31_9AD7D225CC0C__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?