📄 readme.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 + -