Jump to content

Screenshot of hidden window


DW1
 Share

Recommended Posts

Is there a way to take a screenshot of a window that is not in view? I was using a script from the forums that would obtain a bmp or jpg, but I don't know how to make a bmp or jpg of a window that the user cannot see.

I was messing around with a flash game collector and would like to incorporate screen shots of the games, but I don't want the user to have to open the game or see it open before they can see the screen shot. Any ideas?

Link to comment
Share on other sites

If a window is hidden or not open it has no screen to take a screenshot off.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

If it is off the screen there is no picture to screenshot


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

If window is minimized, it's not possible to get it's image, looks like if window hidden - too. But if this just behind other windows - this can be done with PrintWindow function.

In attach an example of how use it. This was done time ago, it's unfinished, quite raw and messy. Bitmap saving routines are made by eltorro, I'm use them for speedy.

Maybe this give you start point.

PrintWin.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...