>Instead of issuing the oWin1.Visible = .T., just MODI COMM foo.prg WINDOW lwWin1.
Tried that. I don't get a editting window (though I did once). If you put code where you have your !Visible, you'll see that that fires real soon after you bring them up.