Link to home
Start Free TrialLog in
Avatar of busycoder
busycoder

asked on

Want to be able to capture a non foxpro window to a file (bmp)

I want to be able to do what alt-print screen does, and I can do this if it is a foxpro form, but not if the window is outside of foxpro. i would also like to be able to capture a part of a screen if I pass the coordinates to capture.
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

So if you would like to capture a non-FoxPro window or a part of the screen from VFP program then you could use some SnagIt API or SnagIt COM Server (http://assets.techsmith.com/docs/pdf-snagit/Snagit-11-COM-Server-Documentation.pdf) or some other similar software.

You may also call PrintWindowAPI directly: http://msdn.microsoft.com/en-us/library/windows/desktop/dd162869(v=vs.85).aspx 

It is also described here: http://www.news2news.com/vfp/?example=158
ASKER CERTIFIED SOLUTION
Avatar of Olaf Doschke
Olaf Doschke
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of busycoder
busycoder

ASKER

Very cool stuff I can't believe I haven't run across this yet. Thanks a ton!