Hi James,
The windows created by MODI COMM, MODI REPORT, REPORT PREVIEW are
child windows of the main VFP window.
It is possible to use API functions
GetWindow,
GetWindowInfo,
GetWindowText and others to enumerate them and obtain some of their properties.
Check a FoxPro example
(no membership required for this one):
Scanning a hierarchy of child windows down from the main VFP windowhttp://www.news2news.com/vfp/?example=261&function=37Among other child windows this code retrieves a handle to the VFP Command Window.