Link to home
Start Free TrialLog in
Avatar of samsonite_VB
samsonite_VB

asked on

Text in System Tray

I'm working on making a clock (like the system clock, except made by me), and I really need to know how I can add text to the system tray.  I found out how to add icons, but not text!

Please help!  Any comments or anything would be appreciated.

Preferably, I'd like it so that I can treat it almost like a label, or text box, something that I can easily edit the colors, background colors, etc.  Like:

statusbartext.backcolor = (whatever)

and

statusbartext.text (or caption) = "whatever"

Thank you so much!

75 pts is all I got :(

-Sam
ASKER CERTIFIED SOLUTION
Avatar of ameba
ameba
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
For a different approach: http://www.geocities.com/timcottee/downloads/traywindow.zip

This sample project allows you to place an entire form in the system tray and have buttons/labels etc active within it.
tim - your link's dead....

that's geoshitties for you :)
nutwiss, this happens many times. If you go to http://www.geocities.com/TimCottee and click the downloads link you should get there. Don't ask me why the link is dead, I copied it straight off the page myself!
It's problem with geocities server. To download file, right-click and select 'Save Target As'

I found their mirror server with prefix 'us.share' to always work with zip files:
http://us.share.geocities.com/timcottee/downloads/traywindow.zip
>mirror server with prefix 'us.share' to always work

This is the first time that doesn't work for me.  :-)
So, the only solution is: right-click and select 'Save Target As'
btw tim, your code works, but, it has to be said, shows little regard for windows standards - it's kind of rude to simply replace the system tray with your own window, don't you think? ;>>
Avatar of samsonite_VB
samsonite_VB

ASKER

Tim, your program is nice... but is there any way to get it NOT to take over the whole system tray?

It'd be awesome if It would just stick itself to the right of the last icon.

-Sam
I am going to have a look at how this might be possible, either to do as you suggest or to place it in the taskbar as a seperate window.
Hi samsonite_VB,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Split points between: ameba and Richie_Simonetti

samsonite_VB, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
I didn't try his links but, what about Tim?
hi Richie_Simonetti,
I have to base my original recommendation on available info.  And I have expert input re TimCottee's solution already (see the nutwiss post of 06/18/2001 02:54AM).

Tim, want to add anything?
-- Dan
Ok. My apologize.
Cheers
(keep the hard work, Dan. Thank you)
nutwiss is right in what he says and as I don't really need the 100 points I am quite happy to leave it as suggested. Dan has recommended at least 10 other threads my way this morning so I am quite happy with that.
My new EE handle: Santa Claus :)
Per recommendation, force-accepted.

Netminder
CS Moderator

Richie_Simonetti: points for you at https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20328617