My first article about DirectComposition is now available online in MSDN Magazine:
High-Performance Window Layering Using the Windows Composition Engine
If you like layered windows then this is going to blow your mind. The Windows composition engine is seriously cool and completely changes the way application windows are rendered on the desktop. If you’d like to learn more then be sure to check out my latest course, DirectComposition in Action, where I provide a practical tour of the DirectComposition API.
Hello Kenny, I have a simple question, how to make a non-redirection surface window not layered? Which means, I can simply click the transparent window area and redirect my click event to the bottom window?
If it’s hit-testing you’re after then use a layered window.
Thank you! I watched every single training in pluralsight, it’s pretty good! And I’m look forward to watch your next [The Essentials of the Windows Runtime].
Hello Kenny,I tried you wrote but I got an empty window(client area is transparent),could you show me the source code?Thanks a lot.
I don’t have a sample handy for this particular one, but you can get a sample from this article and tweak it as needed: http://msdn.microsoft.com/magazine/dn759437.aspx
Thanks anyway!
Hi Kenny, as I tried to compile the sample code from the mentioned second article, but I have just empty (transparent) window with it too… any reason why? Tried on Windows 10.
Hello Kenny again! I met a problem about hit testing. How can I click-through the client area if it is “empty”, I try use WS_EX_TRANSPARENT and handle WM_NCHITTEST, but seems no working.Thanks again!
p.s. I just want make a “draggable round clock” like Win7 by myself.