High-Performance Window Layering Using the Windows Composition Engine

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.

8 thoughts on “High-Performance Window Layering Using the Windows Composition Engine

  1. Flysha

    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?

      1. Flysha

        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].

  2. Dust Loong

    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.

      1. Oldes

        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.

  3. Dust Loong

    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.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s