Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving A Desktop Snapshot
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01038544
Message ID:
01038853
Views:
21
Kevin,

I have several code samples on my web site that might answer your question (requires membership):

Storing screen shot of a form to bitmap file
http://www.news2news.com/vfp/?example=187

GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)
http://www.news2news.com/vfp/?example=454

How to print FoxPro form
http://www.news2news.com/vfp/?example=158

How to print FoxPro form -- II
http://www.news2news.com/vfp/?example=406

GDI+: sending image of FoxPro form to printer
http://www.news2news.com/vfp/?example=455

When the title of example says "form" -- that means any valid window, including FoxPro main screen and Windows Desktop. Which handle you pass to a printing procedure, that window will be printed.

To get window's handle use HWnd property for Form and _Screen in VFP versions 7..9 . In VFP versions 3..6 use API functions GetActiveWindow, GetFocus, FindWindow, GetDesktopWindow instead.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform