message box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Cleary
    New Member
    • Mar 2012
    • 2

    message box

    I 'm running a multithreaded VB.NET program. After running a particular task in the environment I'm displaying a MessageBox to indicate that the task is complete. Everything works fine, sending data, receiving data, displaying the data, etc. When I display the MessageBox and I click outside the MessageBox, the MessageBox goes behind my Main Screen.

    I also am trying to use the wait cursor to indicate a task is in progress. Depending on where the mouse is positioned I get the wait cursor or the default arrow while the task is running. The ListView and the Menu bar are ignoring the wait cursor but my tool bar and my status bar show the wait cursor.

    I have a feeling these two issues are related and it seems like a simple problem but is affecting the operation of the program.

    Thanks
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    #2
    Don't use messageboxes then,

    Create your own Dialogs; show them with ShowDialog method, and set its AlwasOnTop property to be true.

    Comment

    • Michael Cleary
      New Member
      • Mar 2012
      • 2

      #3
      Thanks for the response. I was actually in the middle of creating my own version of a message box when I viewed your response.

      Comment

      Working...