active window:
ActivateKeyboardLayout
GetActiveWindow
GetGUIThreadInfo
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
How to block the PrintScreen key
How to copy the image of a form to the Clipboard using Bitmap API functions
How to prevent users from accessing the Windows Desktop and from switching to other applications
Retrieveing information about the active window (even if it is not owned by the calling process)