|
[原创]一场由随机数引发的血案
看不懂。。。 |
|
[求助]关于GDI后台找图的问题
继续定啊。。。高手在哪里 |
|
[求助]关于GDI后台找图的问题
没有高手指点一下么,gdi的 |
|
[求助]关于GDI后台找图的问题
PrintWindow好像不行,速度太慢,哪个大佬指点一下,如何从显存直接获取????HDC |
|
[求助]关于GDI后台找图的问题
GDI 如何HOOK呢? 有知道的高收吗/? |
|
[求助]关于GDI后台找图的问题
没有高人指点一下么???谢谢了 |
|
[求助]关于GDI后台找图的问题
UP UP UP 求高人指点一下啊。。。 |
|
[求助]关于GDI后台找图的问题
什么代码??????? |
|
[求助]关于GDI后台找图的问题
参考代码如下: #define _WIN32_WINNT 0x0501 //仅XP或以上系统有效 #include <windows.h> int main() { RECT rc; HWND hwnd = FindWindow(TEXT("Notepad"), NULL); //注意窗口不能最小化 if (hwnd == NULL) { cout << "找不到记事本窗口" << endl; return 0; } GetClientRect(hwnd, &rc); //创建 HDC hdcScreen = GetDC(NULL); HDC hdc = CreateCompatibleDC(hdcScreen); HBITMAP hbmp = CreateCompatibleBitmap(hdcScreen, rc.right - rc.left, rc.bottom - rc.top); SelectObject(hdc, hbmp); //复制 PrintWindow(hwnd, hdc, PW_CLIENTONLY); //PW_CLIENTONLY:Only the client area of the window is copied to hdcBlt. //By default, the entire window is copied. //PW_CLIENTONLY表示仅仅拷贝窗口的客户区域,而默认情况下,执行printwindow会拷贝整个窗口 //复制到粘贴板 OpenClipboard(NULL); EmptyClipboard(); SetClipboardData(CF_BITMAP, hbmp); CloseClipboard(); //释放 DeleteDC(hdc); DeleteObject(hbmp); ReleaseDC(NULL, hdcScreen); cout << "成功把记事本窗口复制到粘贴板,请粘贴到Windows画图工具" << endl; return 0; } |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值