An application can simulate a press of the PRINTSCREEN key in order to
obtain a screen snapshot and save it to the clipboard. To do this, call
keybd_event with the bVk parameter set to VK_SNAPSHOT, and the bScan
parameter set to 0 for a snapshot of the full screen or set bScan to 1 for a
snapshot of the active window.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.