John;
Thanks for the email. I still don't know which window has the focus. I almost did what you mentioned.
First I get the non-labview windows (names) save them in an array, then minimize them all
For Labview, you have to minimize a window called "Labview" and this minimizes all LV windows
then you show your alarm in a clean screen and after user acknowledge you do the reverse
Thanks again
Hamid
+++++++++++++++++++++
Dr. Hamid R. Yazdi
Federal Mogul
Manufacturing technology
3935 Research park drive
Ann Arbor, MI 48108
Tel: 734 222 4108
