Bernard's aproach is really very simple and works perfectly.
After you run your "MPR" file, just run the lines of code below.
DEFINE PAD _msm_windo OF _MSYSMENU PROMPT "\<Window" COLOR SCHEME 3
ON PAD _msm_windo OF _MSYSMENU ACTIVATE POPUP _mwindow
DEFINE POPUP _mwindow MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF _mwindow PROMPT "Active Windows"
PS: all credits go to Bernard.
>>I am working on a "converted" application that is part old Fox 2.5 code and part VFP9 code. We are having some issues with forms dropping behind the screen. I'd like to have active forms show up in the Window menu to allow users to reset focus. Is there anyway to use VFP's native ability to add Forms to the menu?
>>
>>Thanks, Jeff
>Easiest way - Create a quick menu. Remove all the menu items except the Windows
>Edit the Windows Menu item and delete all except the menu separator.
>Generate the MPR file.
>Open the MPR and where you see \- for the separator just add "Active Forms"
>
>Now if you run this or add it to your own menu code it will
>
>1. Show the CAPTIONS of the open forms (not the actual name of the form)
>2. It will aytomatically update itself as forms are open/closed
>3. You can activate any form by selecting it from the list.
>
>If you leave the other menu items like Cycle, etc. they too will work.