|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
NotifyIcon Close EventsWhen 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. 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. > |
|||||||||||||||||||||||