>>>Hello George!
>>>
>>>I tested it and works great! VFP put the open windows names (by caption) into the menu popup. There were 2 trick with it: the 1st was what you wrote: _msm_window should be the menupopup name, the 2nd trick was that _mwindow should be the pad name.
>>>
>>>Thanks a lot!
>>>
>>>BB
>>>
>>>P.S.: It was suprising for me that even hidden windows are accessible via this menu.
>>
>>Yeah, I goofed in my original names. I'm glad things worked out.
>>
>>I've noticed that too. Don't forget, however, that the menu has a "Hide" option, so showing the hidden windows isn't too much of a surprise. If it has that option, then you would figure that it would show
all defined windows.
>
>Hello George!
>
>I am not a native speaker, so what "I goofed in my original names" does mean?
>
>TIA
>BB
Hi Bela,
As Barbara said, "goofed" means made a mistake. In this case I was looking a the menu level rather than the pad name.
George
Ubi caritas et amor, deus ibi est