readme.wzd

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

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

WzdThrd.cpp -- a user interface thread class which creates a modeless dialog box
WzdThrd.h

WzdDlg.cpp -- a dialog box class which terminates its thread when the user clicks
WzdDlg.h			the OK or Cancel button

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

// 1) to start user interface thread
	CWinThread *pThread=AfxBeginThread(RUNTIME_CLASS(CWzdThread));

// 2) to end thread, call the following from within it
	::PostQuitMessage(1); // argument is user defined


/////////////////////////////////////////////////////////////////////
// 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 + -
显示快捷键?