hi,
> What does the XBASE code look like to save the screen as jpg?
just click "PrintScr" ...copy from Clipboard and GraBitBlt() it using
aPos/aSize
here 1st part to start : "PrintScr"
*----------------------------------------
#include "dll.ch"
#define KEYEVENTF_KEYUP 0x02
#define VK_MENU 0x12
#define VK_SNAPSHOT 0x2C
PROC main
wait "Press any key to copy the whole screen"
keybd_event(VK_SNAPSHOT, 1, 0, 0)
wait "Press any key to copy the focused window"
keybd_event(VK_MENU, 0, 0, 0)
keybd_event(VK_SNAPSHOT, 0, 0, 0)
keybd_event(VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0)
keybd_event(VK_MENU, 0, KEYEVENTF_KEYUP, 0)
wait
RETURN
DLLFUNCTION keybd_event(mvkey, nscan, flags, xtra) USING STDCALL FROM
USER32.DLL
---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com