using Notifyicon
-
hi i m using notify icon for a windows application i have a lengthy function in which i display msg using the tooltip of notify icon. i have 10 msgs to be displayed using notifyicon when i run it is showing the last 10th msg only my reqirement is it should show 10 msgs with a time gap one after another
-
hi i m using notify icon for a windows application i have a lengthy function in which i display msg using the tooltip of notify icon. i have 10 msgs to be displayed using notifyicon when i run it is showing the last 10th msg only my reqirement is it should show 10 msgs with a time gap one after another
-
Can you put your that part of source Code , if possible. :)
Best Regards, SOFTDEV If you have knowledge, let others light their candles at it
hi here is the code NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) IntialiseH() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) VerticalForces_a() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) HorizontalForces_b() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) Reactions_c() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) InclinedWallsPressure_d_e() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) LoadOnSloppedWalls_f() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) DesignOfInclinedPlate_g() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) i can see the last msg clearly
-
hi here is the code NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) IntialiseH() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) VerticalForces_a() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) HorizontalForces_b() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) Reactions_c() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) InclinedWallsPressure_d_e() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) LoadOnSloppedWalls_f() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) DesignOfInclinedPlate_g() NotifyIcn.ShowBalloonTip(1000, TipTitle, TipText, ToolTipIcon.Info) i can see the last msg clearly
The reason it doesn't work is because your code never releases control so that the message pump can process the messages to update the tooltip. Your work should be done in a background thread, freeing the UI thread (and the message pump on it) to hand the updates to your visuals.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
The reason it doesn't work is because your code never releases control so that the message pump can process the messages to update the tooltip. Your work should be done in a background thread, freeing the UI thread (and the message pump on it) to hand the updates to your visuals.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...hi thanks for your reply can you give any link regarding this
-
hi thanks for your reply can you give any link regarding this
Go to Google and start typing "vb.net threading". You'll see lots of other search suggestions. This is a topic that has been written about countless times.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...