?? searchthread.h
字號:
#if !defined(AFX_SEARCHTHREAD_H__D6766E61_69E5_11D4_B6DF_00104B1269BD__INCLUDED_)
#define AFX_SEARCHTHREAD_H__D6766E61_69E5_11D4_B6DF_00104B1269BD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SearchThread.h : header file
//
#include <afxtempl.h>
#include "SearchThreadParams.h"
/////////////////////////////////////////////////////////////////////////////
// CSearchThread thread
class CSearchThread : public CWinThread
{
public:
CSearchThread(AFX_THREADPROC pfnThreadProc,ThreadParams *pThreadParams); // protected constructor used by dynamic creation
virtual ~CSearchThread();
static UINT ThreadFunc(LPVOID lparam);
BOOL ThreadRun(ThreadParams *pThreadParams);
protected:
CString m_Proxy;
CString m_Port;
int m_TimeOut;
CString GetContent(CString body,CString title,CString key,CString cut,CTime NewsDate);
CString GetLink(ThreadParams *pThreadParams);
BOOL GetNewsContent(ThreadParams *pThreadParams,BOOL ToCut = TRUE);
// Implementation
public:
// BOOL IsServerRun;
// Generated message map functions
//{{AFX_MSG(CSearchThread)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SEARCHTHREAD_H__D6766E61_69E5_11D4_B6DF_00104B1269BD__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -