|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Systray Iconok,
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 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 > 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 >> > > Nate wrote:
> Mr. Reaper It's simple code. Example is in the docs:> > 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? 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. 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. > 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. > Nate wrote:
> Odd why do I get the following error? The only thing I can think of is that the BallonTip functionality was> > 'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'. > 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 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 > 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. >
Regular Expressions .NET
Issue with VB6 using a .NET DLL on one PC with Windows 2000 Server how to round number to custom step (0.25, 20, 100...) Determine what current drive letter is? Bug in Radio Button (or weird feature) Compilation in dot NET audio functions in Winmm.dll Quick SQLclient Data Access ASPX / VB .NET Sum of a DataGridView column Shared Compression for VB.NET and PHP |
|||||||||||||||||||||||