⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.wzd

📁 《vc++扩展编程实例》源码。运用Visual C++ 5.0或6.0的高级编程技巧
💻 WZD
字号:
/////////////////////////////////////////////////////////////////////
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -