Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image of form
Message
 
To
03/02/2008 17:57:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01288760
Message ID:
01288890
Views:
11
>Hi Bo,
>
>In the samples of GdiPlusX we've added some cool samples showing how to capture onclient window too. Just check for "Capture.Scx"
>
>To store the pictureVal of the captured variable, using the GetPictureVal function is the easiest way, as follows:
>
>
cMyForm = oImg.GetPictureVal(Imaging.ImageFormat.Jpeg)
Yep, good point, GetPictureVal works the same way.

For the Window client capture, I was thinking of using GetClientRect instead of using GetWindowRect and trimming off the titlebar and borders. Maybe have a parameter control the behavior.

Thanks,
Previous
Reply
Map
View

Click here to load this message in the networking platform