CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - bmp map
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
GUI Develop
Windows Kernel
WinSock-NDIS
Driver Develop
ADO-ODBC
GDI-Bitmap
CSharp
.net
Multimedia Develop
Communication
Shell api
ActiveX/DCOM/ATL
IME Develop
ISAPI-IE
Hook api
Screen saver
DirextX
Process-Thread
Console
File Operate
Printing program
Multi Monitor
DNA
Other
Search - bmp map - List
[
Screen saver
]
vcDllCapture
DL : 0
VC/C++源码,图形处理,屏幕抓图 C++ 基于DLL的屏幕抓图,是利用通用的热键管理DLL 实现的热键功能,在收到热键通知后截取屏幕的内容并保存到BMP 文件中。从而实现屏幕抓图功能,运行程序后,界面可参见上图,单击【浏览…】按钮可以改变保存文件的路径,而单击【设置】按钮则可以改变截取屏幕的热键。 实现思路主要是: 在一个DLL(热键管理DLL)中安装一个键盘钩子,用另一个程序(Capture)通过这个DLL 来增加、修改、删除热键。当用户按了抓取屏幕的热键后,热键管理DLL 通知Capture 抓取屏幕,并保存位图。 测试需要注意的是: 需要先编译动态库hook,然后将hook.dll和hook.lib拷贝到capture的debug目录下。-VC/C++ source code, graphics, screen shots C++ DLL-based screen capture, management is the use of a common DLL implementation hotkey hotkey function hotkey after receiving notice of the interception of the contents of the screen and save to BMP file . In order to achieve the screen capture function, run the program, the interface can be found on the map, click [Browse ...] button to change the path to save the file, and click the [Setup] button, you can change the hotkey interception of the screen. Achieve the main idea is: install a DLL (Hotkey Manager DLL) in a keyboard hook with another program (Capture) to increase through this DLL, modify, delete hotkeys. When the user presses a hotkey to capture screen after notification Capture Hotkey Manager DLL grab the screen and save the bitmap. Testing Note: you need to compile the dynamic library hook, then hook.dll and hook.lib copy to capture the debug directory.
Date
: 2025-12-17
Size
: 31kb
User
:
ynm
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.