ShowBalloonTip Problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve F

    ShowBalloonTip Problem

    I'm having a timeout problem with NotifyIcon.Show BalloonTip, but not the
    problem commonly found.

    Most people complain that the balloon shows up too long (even though this is
    by design... I've done that reading), but the problem I'm having is the icon
    is disappearing too quickly.

    Even in an application that all I have is a Form, NotifyIcon and Button,
    when the Button_Click action is set for

    notifyIcon1.Sho wBalloonTip(300 00, "Title", "Text", ToolTipIcon.Non e);

    The icon still disappears after 4-5 seconds. It was my understanding that
    this code should make it disappear after 30 seconds. Even if it was set too
    low, 5 seconds should be the minimum timeout.

    Am I missing something?

    -Steve

  • Jeroen Mostert

    #2
    Re: ShowBalloonTip Problem

    Steve F wrote:
    I'm having a timeout problem with NotifyIcon.Show BalloonTip, but not the
    problem commonly found.
    >
    Most people complain that the balloon shows up too long (even though
    this is by design... I've done that reading), but the problem I'm having
    is the icon is disappearing too quickly.
    >
    Even in an application that all I have is a Form, NotifyIcon and Button,
    when the Button_Click action is set for
    >
    notifyIcon1.Sho wBalloonTip(300 00, "Title", "Text", ToolTipIcon.Non e);
    >
    The icon still disappears after 4-5 seconds. It was my understanding
    that this code should make it disappear after 30 seconds. Even if it was
    set too low, 5 seconds should be the minimum timeout.
    >
    From the documentation: "Minimum and maximum timeout values are enforced by
    the operating system and are typically 10 and 30 seconds, respectively,
    however this can vary depending on the operating system. Timeout values that
    are too large or too small are adjusted to the appropriate minimum or
    maximum value."

    I don't know if these parameters are actually configurable (they likely are)
    and if you have something installed that changes them, but in any case, you
    cannot count on the timeout being enforced. For more details, you'll likely
    need to delve into the details of the balloon tip control in Win32.

    --
    J.

    Comment

    Working...