reg message box  
Author Message
ctssoms





PostPosted: Visual C# General, reg message box Top

hi

i do display a message box using message box. show....

but before the message box is gettin displayed i switchover the focus to a excel sheet...

as a result of this the message box loses the focus on the form ...

so when i do the same validation another message box opens..

so i am having 2 mesage box now...

can the message box be focussed using any command




Visual C#5  
 
 
mecspek





PostPosted: Visual C# General, reg message box Top

I am not sure if this works but try using the Application.DoEvents method before showing the messagebox

mecspek