Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Notification Form - Not working - Asynchoronous Prog.

Notification Form - Not working - Asynchoronous Prog.

Scheduled Pinned Locked Moved C#
helpsysadminquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BAIJUMAX
    wrote on last edited by
    #1

    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:

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups