You can handle WM_PAINT and draw it yourself. Specifically, there are a number of ways to override the default drawing behavior of the standard and common controls. There are a number of ways of solving this sort of problem. How can I display an edit control on glass?! For the sake of my email inbox, I am going to present a simple solution to address the most common request: Having said my piece about DWM and what with being extremely busy with my day job and various other commitments I never quite found the time to present alternative solutions. Unfortunately, when Microsoft finally released Windows Vista this “hack” no longer worked leaving developers to wonder how it could be done. I demonstrated this technique in the article. Those early builds included a hack that allowed you to easily draw controls on glass by tweaking the transparency key. If you recall, I wrote the DWM article before the release of Windows Vista to manufacturing. Of all the Windows Vista for Developers series articles that I have written, the one about the Desktop Window Manager (DWM) is by far the most popular considering the blog traffic statistics and the amount of email I receive with questions about glass.īy far the most common question I hear is about how to get controls to render correctly on glass.
0 Comments
Leave a Reply. |