Home All Groups Group Topic Archive Search About

NotifyIcon Close Events

Author
6 Jul 2006 7:22 PM
Mark Ehrhardt
When a user clicks on a balloon created by the Framework's NotifyIcon
class there seems no way to tell the difference between a user clicking
on the X close button and clicking anywhere on the balloon.
When the user clicks on the X close button no click event is generated.
Only the BalloonTipClosed event.
Unfortunately, when the OS times out the balloon the only event that
fires is that same BalloonTipClosed even.  Therefore, it seems
impossible to tell if the user clicked the X button to hide the balloon
or the OS closed it.
The object here is to redisplay the balloon until the user clicks on
the balloon.

Does anyone know what can be done?

Thanks in advance.

Author
7 Jul 2006 7:33 AM
Göran_Andersson
Have you tried the BalloonTipClicked event?

Mark Ehrhardt wrote:
Show quote
> When a user clicks on a balloon created by the Framework's NotifyIcon
> class there seems no way to tell the difference between a user clicking
> on the X close button and clicking anywhere on the balloon.
> When the user clicks on the X close button no click event is generated.
>  Only the BalloonTipClosed event.
> Unfortunately, when the OS times out the balloon the only event that
> fires is that same BalloonTipClosed even.  Therefore, it seems
> impossible to tell if the user clicked the X button to hide the balloon
> or the OS closed it.
> The object here is to redisplay the balloon until the user clicks on
> the balloon.
>
> Does anyone know what can be done?
>
> Thanks in advance.
>

AddThis Social Bookmark Button