Notification Form - Not working - Asynchoronous Prog.
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, Have a Scenario like below . In my prog. there's Async. calls to listen messages from network. Whenever any error occurs i have to pop-up a message window to user. I used Raise event whenever i got error. Raise event calls a Notification manager delegate which will create the notification form and pop up. initially this window greyed out. But added DoEvents()soon after creating window solved the problem.Now i'm able to click on the cancel button in the window. That is control is not transferred to notification window. where as i can still work with other opened windows. How do i pass control focus to notifaction message box. BY BAIJUMAX "Things are simple by nature ; oh hooo ; Are we making things complex":doh: