Message Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi frnds,

How can I programmatically know whether any messageBox is shown over a form
in an application?

Thanx,
Rahul
 
Best way is to track them when you show them. If you mean if anybody else's
MessageBox is shown then there is no official way that I am aware of.

You could pinvoke findwindow with class dialog to find out if *any* msgbox
is shown on the device (in general not just over a specific form)... I gave
an example of this previously in the context of programmatically closing a
msgbox:
http://groups-beta.google.com/group..._doneTitle=Back+to+Search&&d#8a79f7683a8709dc

Cheers
Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top