>Hi All,
>
>I have a little problem. I'd like to show my users some wait windows every now and then. I use a Top level form as my main form in this application and _screen is hidden. Wait windows don't show up in this setup. What I did to make it work is show _screen with a top = -2000 and the Wait windows suddenly show up. But this way there is a second button on the taskbar. Why don't wait windows show up on top level forms when _Screen is hidden and how do I solve this without showing _Screen (not even on the taskbar).
Unfortunately, WAIT WINDOW is tied to the VFP main screen; if the VFP main screen's ShowWindow state is hidden, the WAIT WINDOW system message window doesn't appear (it's somewhat the same problem as the Report Preview problem.)
Take a look at the VFP docs - the on-line docs for both VFP5 and VFP6 state explicitly that if the WINDOW clause is included in the WAIT statement, the system message window appears in the main Visual FoxPro window. IOW, the behavior is documented, even if it's not what you want it to do.
You'll have to use a form or MESSAGEBOX() rather than WAIT WINDOW if you don't want the main VFP window to appear in the taskbar.