C# DWM Glass
Okay, I’m about to go in to demo ‘Giggle’, but I just found a way of rendering readable text on glass in C#’ without adding to the onPaint() functions etc… and it’s really easy!
As you can see, it’s easily adaptable in to a function for ‘universal painting of text on to Glass, although notable is the fact that if the pane is taken ‘off screen’ then the text will need to be redrawn, and a glass area can only be drawn to if it is currently visible.
Enjoy,
Chris
note: Cheers to a couple of guys who blog on MSDN for some of the code
Let's talk about it.
Head on over to Twitter and let's talk more.
Find me at @chrismaddern.