How to take a screenshot of a Full Size window in C#

后端 未结 4 1425
感动是毒
感动是毒 2020-12-10 22:51

I am trying to create an application in C#.net that captures the screenshot of the current active window including the area that has to be scrolled using scroll bars.I found

4条回答
  •  北海茫月
    2020-12-10 23:48

    If you're trying to get content that's offscreen, then WM_PRINT may work. BitBlt assuredly will not.

    See:

    • MSDN description of WM_PRINT
    • Window Contents Capturing using WM_PRINT Message

提交回复
热议问题