Hmmm ... I suspect your best bet might be to create a timer and use the Windows API to go through all active window handles checking for the one in question. I don't know if VFP would be in a blocked state at the point of the dialog being shown though.
http://www.news2news.com/vfp/?group=83&function=136 http://www.news2news.com/vfp/?group=83&function=906 -- Alan Bourke alanpbourke (at) fastmail (dot) fm _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

