|
-
Jun 20th, 2001, 01:32 AM
#1
Thread Starter
Addicted Member
Text on the desktop?
I know you can print text on forms...I know you can print text on PictureBoxes...but...
I want to print text on the desktop and update it dynamically (Windows uptime, to be specific), just in a corner of the screen. Is it possible to do this, or do I have to fall back on "other" methods? My other idea is creating a tray icon and dynamically updating the tool-tip with the uptime, so mousing over the systray icon would show the uptime. Still, it'd be nice to just glance at the desktop and see it.
Real reason: My computer's been locking up...and I think it has something to do with uptime, so I'd like to see what it is when she dies
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 20th, 2001, 03:26 AM
#2
Retired VBF Adm1nistrator
Well you could create a borderless form that always 'stays-on-top' and have it stay in the top right hand corner of the screen (or wherever) ...
The form'd be just wide enough to show the uptime.
Ya follow ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 20th, 2001, 10:48 AM
#3
Thread Starter
Addicted Member
Thanks plenderj, I sure do follow, but that could be detrimental. For one thing, no matter what corner its in and no matter how small it is, it's going to obscure something, and with a borderless form...well, good luck to me moving when I need to 
Any other ideas? I know one can get a handle to the desktop (don't exactly know how...), is there some way to usurp that?
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 20th, 2001, 11:34 PM
#4
Thread Starter
Addicted Member
I tried using DrawText and DrawTextEx API's to write to the desktop's DC...didn't work, but that might be my error
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 03:04 AM
#5
Thread Starter
Addicted Member
I don't want to use HTML pages...ActiveDesktop is the bane of my existance, for reasons far too innumerable to mention here
Anyway, I was thinking about form placement...if I put it in the bottom-right (right about the systray clock), it wouldn't be in the way of many buttons or anything...and if I made it partially transparent, it'd work fine. I know you can do this with the Taskbar...my new question is is it possible with forms?
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 03:06 AM
#6
Retired VBF Adm1nistrator
You can make forms transparent.
I'd also suggest you impliment the ability to drag the form around.... in case the user wants to move it ....
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 21st, 2001, 03:27 AM
#7
Thread Starter
Addicted Member
That's a very good point plenderj, and I'll be sure to do that 
Would you happen to have a link to form transparency info? If not that's okay, I'll look myself tomorrow...somehow I always manage to need something at 3:30 in the morning
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 03:30 AM
#8
Retired VBF Adm1nistrator
If you search the forums you should find it easily enough.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jun 21st, 2001, 03:32 AM
#9
Thread Starter
Addicted Member
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 03:41 AM
#10
-
Jun 21st, 2001, 03:55 AM
#11
Thread Starter
Addicted Member
Makes sense to me...although, if you want to get big-scaled, you could consider the desktop a "parent" window for every other program window in Windows...kinda sorta, not really...I'm tired, forgive the rambling... 
I did find a terrific form-transparency class module, I think it'll work very well for my purposes but I'm going to look into your idea, Jotaf98!
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 03:59 AM
#12
Thread Starter
Addicted Member
Just for anyone who wants it, here's that class module...this was posted by Amon Ra in another thread
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 04:02 AM
#13
Thread Starter
Addicted Member
And, like a sleepy idiot, I didn't post the file
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 03:30 PM
#14
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|