readme.wzd

来自「MFC扩展编程实例」· WZD 代码 · 共 27 行

WZD
27
字号
/////////////////////////////////////////////////////////////////////
// Example files.
/////////////////////////////////////////////////////////////////////

WzdThrd.cpp -- a thread class that terminates when it receives
WzdThrd.h			a WM_WZDKILLTHREAD windows message

/////////////////////////////////////////////////////////////////////
// Modify any class.
/////////////////////////////////////////////////////////////////////

// 1) create thread but keep it's pointer
	m_pThread=AfxBeginThread(RUNTIME_CLASS(CWzdThread));

// 2) send a message to that thread
	m_pThread->PostThreadMessage(WM_WZDKILLTHREAD,0,0);


// 3) you can also send a message to a window of that thread if you know
// its handle

/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1999 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

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