readme.wzd

来自「《Visual C++ MFC编程实例》配套代码,如果大家正在学习此教程」· WZD 代码 · 共 26 行

WZD
26
字号
/////////////////////////////////////////////////////////////////////
// Modify any class.
/////////////////////////////////////////////////////////////////////

// 1) to create a wait cursor
	CWaitCursor wc;

	:	: lengthy process : :

// 2) to turn off wait cursor without destructing the class object (wc)
	SetCursor(AfxGetApp()->LoadStandardCursor(IDC_ARROW));

// 3) if something turns off wait cursor you can turn it back on with:
	wc.Restore();

	:	: lengthy process : :

// 4) to destroy wait cursor
	return; // returning from function destructs wc which restores arrow cursor

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

⌨️ 快捷键说明

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