readme.wzd

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

WZD
27
字号
/////////////////////////////////////////////////////////////////////
// Change priority...
/////////////////////////////////////////////////////////////////////

// 1) to change your application's priority:
	BOOL b=::SetPriorityClass( 
		::GetCurrentProcess(),		//process handle
//		REALTIME_PRIORITY_CLASS // highest: thread must run immediately before any other system task
//		HIGH_PRIORITY_CLASS		// high: time-critical threads
//		NORMAL_PRIORITY_CLASS 	// normal: thread with equal importance to other system applications
		IDLE_PRIORITY_CLASS 	// low: threads that can run in the background of the entire system
		);

// 2) To get the current priority:

	DWORD priority=
	  ::GetPriorityClass(
		::GetCurrentProcess()		//process 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 + -
显示快捷键?