Jump to content
  • Advertisement
Sign in to follow this  
Krisc

Problems taking screenshots of my game

This topic is 5054 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How am I supposed to get screenshots of my game if DirectInput has taken control of the keyboard and therefore disallowing the PrintScreen message to get through to windows. I am using DirectDraw in Dx9 in C#... right now I am releasing input...anyone got any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Could you have a key that, when pressed, causes the current buffer to get written to a file? BMP output is very easy (in fact, input/output is about all that BMP is good for). Actually, I wouldn't be surprised if Dx has file output already (not that I know anything about DirectX, mind you).

Share this post


Link to post
Share on other sites
I mean that messages such as PrintScreen never get to the computer. The only things that get through are alt-tab, ctrl-alt-del and alt-f4...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Maybe you can manually place a message in the application's message queue.

something like:
SendMesssage(hWnd, WM_KEYDOWM, VK_SNAPSHOT, 0);

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!