Home All Groups Group Topic Archive Search About
Author
24 Oct 2006 3:30 PM
Nate
ok,

So .net makes it pretty easy to add a systray icon now.  However, does
anyone know of a way to force the text (tooltip) to appear.  Instead of it
only appearing when the mouse goes over it can it be forced to appear for
say 5 seconds?

Any help would be greatly appreciated.  Thanks.

Nate

Author
24 Oct 2006 8:11 PM
The Grim Reaper
Nate,

In the System.Windows.Forms.NotifyIcon object, there is a method called
ShowBalloonTop(), which accepts a parameter for the display time.

HTH
________________________________________
The Grim Reaper

Show quoteHide quote
"Nate" <n***@hello.com> wrote in message
news:nkq%g.17852$OE1.5221@tornado.ohiordc.rr.com...
> ok,
>
> So .net makes it pretty easy to add a systray icon now.  However, does
> anyone know of a way to force the text (tooltip) to appear.  Instead of it
> only appearing when the mouse goes over it can it be forced to appear for
> say 5 seconds?
>
> Any help would be greatly appreciated.  Thanks.
>
> Nate
>
Author
24 Oct 2006 8:50 PM
Nate
Mr. Reaper

I'm played around with .net and having a hard time getting this bit of code
to work.  Could your provide a example code sniplet?

Nate

Show quoteHide quote
"The Grim Reaper" <grim_rea***@REMOVEbtopenworld.com> wrote in message
news:LcudneGXCt3x7qPYRVnytA@bt.com...
> Nate,
>
> In the System.Windows.Forms.NotifyIcon object, there is a method called
> ShowBalloonTop(), which accepts a parameter for the display time.
>
> HTH
> ________________________________________
> The Grim Reaper
>
> "Nate" <n***@hello.com> wrote in message
> news:nkq%g.17852$OE1.5221@tornado.ohiordc.rr.com...
>> ok,
>>
>> So .net makes it pretty easy to add a systray icon now.  However, does
>> anyone know of a way to force the text (tooltip) to appear.  Instead of
>> it only appearing when the mouse goes over it can it be forced to appear
>> for say 5 seconds?
>>
>> Any help would be greatly appreciated.  Thanks.
>>
>> Nate
>>
>
>
Author
24 Oct 2006 8:59 PM
Chris Dunaway
Nate wrote:
> Mr. Reaper
>
> I'm played around with .net and having a hard time getting this bit of code
> to work.  Could your provide a example code sniplet?

It's simple code.  Example is in the docs:

notifyIcon1.BalloonTipTitle = "Balloon Tip Title"
notifyIcon1.BalloonTipText = "Balloon Tip Text."
notifyIcon1.BalloonTipIcon = ToolTipIcon.Error

notifyIcon1.ShowBalloonTip(30)   'Shows the ballon tip for 30
milliseconds

It's not that hard.
Author
25 Oct 2006 7:34 PM
Nate
Odd why do I get the following error?

'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.

I did a search in the help documents 'showballoontip' comes back with
nothing.

Show quoteHide quote
"Chris Dunaway" <dunaw***@gmail.com> wrote in message
news:1161723563.388313.176760@m7g2000cwm.googlegroups.com...
> Nate wrote:
>> Mr. Reaper
>>
>> I'm played around with .net and having a hard time getting this bit of
>> code
>> to work.  Could your provide a example code sniplet?
>
> It's simple code.  Example is in the docs:
>
> notifyIcon1.BalloonTipTitle = "Balloon Tip Title"
> notifyIcon1.BalloonTipText = "Balloon Tip Text."
> notifyIcon1.BalloonTipIcon = ToolTipIcon.Error
>
> notifyIcon1.ShowBalloonTip(30)   'Shows the ballon tip for 30
> milliseconds
>
> It's not that hard.
>
Author
25 Oct 2006 7:34 PM
Nate
Odd why do I get the following error?

'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.

I did a search in the help documents 'showballoontip' comes back with
nothing.

Show quoteHide quote
"Chris Dunaway" <dunaw***@gmail.com> wrote in message
news:1161723563.388313.176760@m7g2000cwm.googlegroups.com...
> Nate wrote:
>> Mr. Reaper
>>
>> I'm played around with .net and having a hard time getting this bit of
>> code
>> to work.  Could your provide a example code sniplet?
>
> It's simple code.  Example is in the docs:
>
> notifyIcon1.BalloonTipTitle = "Balloon Tip Title"
> notifyIcon1.BalloonTipText = "Balloon Tip Text."
> notifyIcon1.BalloonTipIcon = ToolTipIcon.Error
>
> notifyIcon1.ShowBalloonTip(30)   'Shows the ballon tip for 30
> milliseconds
>
> It's not that hard.
>
Author
25 Oct 2006 9:29 PM
Chris Dunaway
Nate wrote:
> Odd why do I get the following error?
>
> 'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.
>

The only thing I can think of is that the BallonTip functionality was
added in .Net 2.0.  Are you using 2.0 or 1.1?

If you are using 1.1, then see this link:

http://www.codeproject.com/cs/miscctrl/notifyiconex.asp

Good Luck!

Chris
Author
26 Oct 2006 7:06 PM
Nate
I thought this was a vb (Visual Basic) newsgroup and not C#?
That sample project does what I want but I'm not knowledgeable enough in C#
to take it apart.


Show quoteHide quote
"Chris Dunaway" <dunaw***@gmail.com> wrote in message
news:1161811751.916487.291560@e3g2000cwe.googlegroups.com...
> Nate wrote:
>> Odd why do I get the following error?
>>
>> 'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.
>>
>
> The only thing I can think of is that the BallonTip functionality was
> added in .Net 2.0.  Are you using 2.0 or 1.1?
>
> If you are using 1.1, then see this link:
>
> http://www.codeproject.com/cs/miscctrl/notifyiconex.asp
>
> Good Luck!
>
> Chris
>
Author
25 Oct 2006 7:36 PM
Nate
Odd why do I get the following error?

'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.

I did a search in the help documents 'showballoontip' comes back with
nothing.

Show quoteHide quote
"Chris Dunaway" <dunaw***@gmail.com> wrote in message
news:1161723563.388313.176760@m7g2000cwm.googlegroups.com...
> Nate wrote:
>> Mr. Reaper
>>
>> I'm played around with .net and having a hard time getting this bit of
>> code
>> to work.  Could your provide a example code sniplet?
>
> It's simple code.  Example is in the docs:
>
> notifyIcon1.BalloonTipTitle = "Balloon Tip Title"
> notifyIcon1.BalloonTipText = "Balloon Tip Text."
> notifyIcon1.BalloonTipIcon = ToolTipIcon.Error
>
> notifyIcon1.ShowBalloonTip(30)   'Shows the ballon tip for 30
> milliseconds
>
> It's not that hard.
>