George, great solution. Is there a book or other source that reveals how all the
APIs work? I've never used an API before, but am very interested in what
might be offered if I were more familiar with them.
>>I am using VFP30 in WinNT 4.0 and would like to add a print screen feature to my application. Any ideas on how to do this would be appreciated. TIA
>>
>>drb
>
>David,
>
>I assume that you're trying to capture the screen into the clipboard. If so, you can try:
>
>DECLARE keybd_event IN Win32API;
> SHORT bVk, SHORT bScan, INTEGER dwFlags, INTEGER deExtraInfo
>lnsnapshot = 44
>* According the Win32.hlp copies the full screen
>= keybd_event(lnsnapshot, 0, 0, 0)
>* According the Win32.hlp copies the active window
>= keybd_event(lnsnapshot, 1, 0, 0)
>
>I've found that the results don't always match the documentation, but the screen is sent to the clipboard.
Previous
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