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

📄 readme.wzd

📁 《vc++扩展编程实例》源码。运用Visual C++ 5.0或6.0的高级编程技巧
💻 WZD
字号:
/////////////////////////////////////////////////////////////////////
// Example files...
/////////////////////////////////////////////////////////////////////

WzdBtmap.cpp -- a bitmap class that can load its image from the screen
WzdBtmap.h


/////////////////////////////////////////////////////////////////////
// Use Bitmap....
/////////////////////////////////////////////////////////////////////

// 1) Create a CRect variable with the dimension of the screen to capture:

	CWnd *pWnd=GetDesktopWindow();
	pWnd->GetWindowRect(&rect);

// 2) Use the CWzdBitmap class to capture the image:

	CWzdBitmap bitmap;
	bitmap.Capture(rect);

// 3) You can now display this bitmap as you would any other bitmap.


/////////////////////////////////////////////////////////////////////
// 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 + -