Showing a BalloonTip on a NotifyIcon shows up after 10 seconds
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Showing a BalloonTip on a NotifyIcon shows up after 10 seconds

  1. #1
    Join Date
    May 2013
    Posts
    5

    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.

  2. #2
    Arjay's Avatar
    Arjay is online now Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,370

    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?

  3. #3
    Join Date
    May 2013
    Posts
    5

    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.

  4. #4
    Arjay's Avatar
    Arjay is online now Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,370

    Re: Showing a BalloonTip on a NotifyIcon shows up after 10 seconds

    Quote Originally Posted by jeffrey1994 View Post
    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center