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

📄 view.h

📁 中间件编程,该程序用于传输客户端数据到服务器,可运行于WINDOWS2000,2003,XP,98等系统
💻 H
字号:
// view.h : interface of the CClientView class
//
/////////////////////////////////////////////////////////////////////////////

class CClientDoc;
class CClientView : public CFormView
{
protected: // create from serialization only
	CClientView();
	DECLARE_DYNCREATE(CClientView)

public:                      
	void ResetContent();
	void AddSubLog(const char *LogString);
	void LoadData(CArchive& ar);
	void SaveData(CArchive& ar);
	void AddLog(const char *LogString);
	//{{AFX_DATA(CClientView)
	enum { IDD = IDD_CLIENT_FORM };
	UINT	m_LocalPort;
	UINT	m_RemotePort;
	CString	m_RemoteHost;
	//}}AFX_DATA

// Attributes
public:
	CClientDoc* GetDocument();

// Operations
public:

// Implementation
public:
	virtual ~CClientView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
	virtual void OnInitialUpdate();

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

// Generated message map functions
protected:
	//{{AFX_MSG(CClientView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDestroy();
	afx_msg void OnFreeze();
	afx_msg void OnUpdateFreeze(CCmdUI* pCmdUI);
	afx_msg void OnSockconfig();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:	
	unsigned long m_LogCount;
	BOOL m_TrackData;
	CListBox m_ListBox;
	BOOL m_ListBoxAttach;
};

#ifndef _DEBUG  // debug version in view.cpp
inline CClientDoc* CClientView::GetDocument()
   { return (CClientDoc*)m_pDocument; }
#endif

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

⌨️ 快捷键说明

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