So i tried the message queue! it worked well!! :)
I made a custom class storing the (string) message, (Color) color of the message and (int) progress bar value.
I made a Queue for my custom class and using a timer, I kept picking notifications off the Queue if there were any, otherwise setting my controls to their default values :)
thanks so much for your help! :D...
User Profile
Collapse
-
FaizanKazi replied to Win Forms - Display self Disappearing Notifications/PopUps in quick succession?in C SharpThanks Gary!
1)I thought about a message queue, I was just worried about messages piling up and not being written in good time...
like if a user selects 4 different rows from a grid view in quick succession, and i'm taking 2 seconds to display each message about the gridrow selected, it'll take 8 seconds to display all the messages, the user might be confused when he gets backed up messages that dont relate to the most...Leave a comment:
-
FaizanKazi started a topic Win Forms - Display self Disappearing Notifications/PopUps in quick succession?in C SharpWin Forms - Display self Disappearing Notifications/PopUps in quick succession?
Hi all!
I really need to show neat and professional looking messages, like helper tips, or error notifications, in quick succession, often occurring before the first message has disappeared....
I was trying to display those notifications in a ToolStripStatus Label, but whats happening with my code is I have to wait for my background worker to finish displaying one message, before the other can be displayed and this hangs the UI...
No activity results to display
Show More
Leave a comment: