开发者

how to copy bits from minimized window's HDC?

i would like to copy entire client window size of some window to my HDC, but when the window is minimized the source of all color bit开发者_如何学运维s is always empty RGB(0,0,0); How to do this without activating the window?


You can use this function:

BOOL PrintWindow(
    HWND hwnd,
    HDC hdcBlt,
    UINT nFlags);

http://msdn.microsoft.com/en-us/library/dd162869%28v=vs.85%29.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜