Balloontip

  • Thread starter Thread starter JR
  • Start date Start date
Hi,

How can I know of the (notifyicon)balloon is visible or not

Jan

Did you look at the Help for NotifyIcon? I haven't tried it, but the
Visible property says:

"Gets or sets a value indicating whether the icon is visible in the
notification area of the taskbar."
 
Jack Jackson said:
Did you look at the Help for NotifyIcon? I haven't tried it, but the
Visible property says:

"Gets or sets a value indicating whether the icon is visible in the
notification area of the taskbar."

thats just the problem the help speaks of the icon. I aks about the balloon
 
thats just the problem the help speaks of the icon. I aks about the balloon

I don't see any way to definitively tell when the balloon is shown.
You can subscribe to the BalloonTipShown event to know when it is
first shown, and to BalloonTipClosed to know when the user closes it.
You could guess at when the control will close the balloon itself by
starting a timer, but the OS can choose to show it for a different
time than you asked.

Why do you want to know if the balloon is visible?
 
Jack Jackson said:
I don't see any way to definitively tell when the balloon is shown.
You can subscribe to the BalloonTipShown event to know when it is
first shown, and to BalloonTipClosed to know when the user closes it.
You could guess at when the control will close the balloon itself by
starting a timer, but the OS can choose to show it for a different
time than you asked.

Why do you want to know if the balloon is visible?

I show the balloon on mouseover. so for not blinking i think the best way is
looking of it is still there
I know how to hide the balloon with notifyicon.visible

so perhaps i can work with a boolean
on by movemove
off by BalloonTipClosed
 
Back
Top