keyboard focus:
DestroyWindow
GetFocus
SetFocus
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)
GDI+: sending image of FoxPro form to printer
GetFocus returns a HWND value
How to copy the image of a form to the Clipboard using Bitmap API functions
How to print FoxPro form
How to print FoxPro form -- II
Switching between keyboard layouts