dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    109

    Is it possible to get a screen capture on windows 7 without capturing its own window?

    If I use GetDesktopWindow(), it includes the window which starts the capturing, I don't want to include that window. Just everything except the firing program. how can I achieve this?
    thanks
    Jack

  2. #2
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,106

    Re: Is it possible to get a screen capture on windows 7 without capturing its own win

    One option is to hide your window right before you do the capture.
    Also, did you check out this article: https://docs.microsoft.com/en-us/win...uring-an-image
    Another option might be PrintWindow(): https://docs.microsoft.com/en-us/win...er-printwindow

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)