Click here to Skip to main content
15,918,243 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'd like to write vb.net application that is similar to TransClock. Basically a digital clock that displays only the time, synced with the system clock. The display can change the opacity of the numbers from fully visible to invisible, with the numbers being translucent in between, along with this the form is not visible. I've played around with the opacity setting in a form, but that doesn't appear to be the solution. Can this be done in VB or C#?

Thanks
Posted

Check out some of these[^] links.

How to: Create Transparent Windows Forms[^] looks promising.

XparentFormsCS[^]
 
Share this answer
 
v2
Comments
allanblackford 17-May-12 14:36pm    
I've played around with the opacity of the form. The problem with that is when you adjust the opacity of the form in order to adjust the opacity of the text, the form becomes visible, which is something I don't want. I've read some about using bitmap with opaque brush, but not sure if that would work and keep up with the system time. In other words the text will not be static.
fjdiewornncalwe 17-May-12 14:44pm    
Please see my updated answer. I pasted the wrong link down. The one I put uses opacity and is exactly what you don't want... Oops and sorry.
Maciej Los 18-May-12 10:36am    
Good link, my 5!
You can use gdi + to draw a translucent background, the words and numbers on top
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900