摘要: #include <windows.h> #include <gdiplus.h> HBITMAP LoadBitmapFromResource(DWORD ResourceID, bool transparent = true) { HANDLE hGlobal = NULL; ULONG_PTR 阅读全文
posted @ 2019-11-08 14:24 strive-sun 阅读(1929) 评论(0) 推荐(0) 编辑
摘要: HDC hdc, hdcTemp; RECT rect; BYTE* bitPointer; int x, y; int red, green, blue, alpha; while(true) { hdc = GetDC(HWND_DESKTOP); GetWindowRect(hWND_Desk 阅读全文
posted @ 2019-11-08 09:49 strive-sun 阅读(978) 评论(0) 推荐(0) 编辑