Showing a BalloonTip on a NotifyIcon shows up after 10 seconds
I have a NotifyIcon on my MainForm which works fine whenever I call the showBalloonTip() method on it. The BalloonTip shows immediately.
But when I open my SecondForm and use a reference of my MainForm to access the NotifyIcon it shows the BalloonTip after 10 seconds..
Code:
reference.notifyIcon1.BalloonTipTitle = "Title";
reference.notifyIcon1.BalloonTipText = "Text";
reference.notifyIcon1.ShowBalloonTip(5000);
EDIT:
Whenever I change my FormBorderStyle to something else than "None" the delay is gone..
TL;DR
FormBorderStyle.None seems the issue..
Re: Showing a BalloonTip on a NotifyIcon shows up after 10 seconds
Can you create a small sample, zip up the entire solution and post it here?
Re: Showing a BalloonTip on a NotifyIcon shows up after 10 seconds
I changed my code to basically first Close() the form and then show the balloontip and that worked..
My SecondForm was a maximized form across both of my monitors.
Re: Showing a BalloonTip on a NotifyIcon shows up after 10 seconds
Quote:
Originally Posted by
jeffrey1994
I changed my code to basically first Close() the form and then show the balloontip and that worked..
My SecondForm was a maximized form across both of my monitors.
Glad you got it figured out, but without seeing code, it's hard for us to give out any meaningful advice.