General information
Category:
Windows API functions
Title:
Saving a Screenshot to disk
I am able, through the use of the WIN32 API call keybd_event to simulate the ALT+PRTSCRN key combo to place a screenshot of the current app onto the clipboard.
Is there any way in VFP to write the contents of the clipboard to a file? _CLIPTEXT does not get set when ALT+PRTSCRN is hit, so I can't just write the bytestream in _CLIPTEXT to a file (which was my first thought).
Anyone done this (it's part of an error handler that takes a screenshot on error)?
-- jas
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only