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
 
Back
Top