Hi!
I have a few questions about the key in the title.
First of all, I know how to capture current frame from the fullscreen window and save it to file:
if (mEvent.key.code == sf::Keyboard::F12)
{
sf::Image screenshot = mWindow.capture();
screenshot.saveToFile("screenshot.png");
}
But I got soo used to in using the Printscreen key for making screenshots, since majority of games I played would support it, either by making the image file or by capturing the frame and then pasting it in a image editor program. It is kinda intuitive.
So, what is the reason that SFML doesn't support the printscreen key?
Also, is there a way to force a program into using the printscreen key the way I want (as code above)?
I was searching a bit and
found this topic, but since I extremely lack the OS
* inner workings knowledge, I have no idea how implement the code from that topic into my code.
Which means that the second question basically boils down to "can you write the code for me, pleasee?"
Or just point me at right direction on how to implement it.
PS: I am a c++ and a programer noob, just so you know...
* OS is Windows 7.