|Hi, I've made a program to handle the image created in the clipboard by the PrintScreen function in Windows(7). This works great on most occations but not always; In games like Counterstrike Source the program doesn't get the image it should. In the example provided, CSS, the program gets the loading screen shown when starting up the game.|
Here is a link to the image the program gets
It was all I could find by a quick google search. It's basically the same as my computer, only difference is that I use fullscreen mode.
The program is written in C++ and uses the following code to get the image from the clipboard:
h = (HBITMAP)GetClipboardData(CF_BITMAP);
When I try to manually insert the image provided by printscreen in the Paint program, I get the same image as my program. I've never had a problem with the printscreen function so I guess the problem lies with my program.
Any thoughts on this?
Live the life as you know it