-
May 25th, 2013, 09:47 AM
#1
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..
Last edited by jeffrey1994; May 25th, 2013 at 11:13 AM.
-
May 25th, 2013, 03:58 PM
#2
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?
-
May 25th, 2013, 05:08 PM
#3
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.
-
May 25th, 2013, 05:48 PM
#4
Re: Showing a BalloonTip on a NotifyIcon shows up after 10 seconds
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|