I have two applications (src and target) that asynchronously communicate with each other via a TextBox. Target application has many forms and src application (amongst other things) monitors which (Target) Form is open and whether a MessageBox is being displayed at the time.
I know how to determine active form but don't know how to determine if a MessageBox is being displayed at the time (keeping in mind that communication between the two applications is asynchronous and I don't want to resort to setting some global flag every time I show a MessageBox).
P.S. I am using VB2008 and .Net 3.5