Open Message Box

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
Is there a way to check if an app has an open messagebox waiting for Yes/No input with a specific text? Lets say i have a timer that will show a messagebox to ask for Yes/No response. I want it to only display 1 messagebox, instead of keep opening a new messagebox when the timer ticks if you dont response to the opened box.
 
Simple solution is to just use a Boolean variable that you use to keep track of your state. Other than that checking a forms CanFocus property seems to be a common approach.
 
Back
Top