
Verify(DwmExtendFrameIntoClientArea(windowHandle, Start by instructing the DWM to extend the frame into the client area as follows: Let’s say you just want to render the entire client and non-client area as a seamless sheet of glass and then use Direct2D to draw on top. Whereas GDI barely tolerated the DWM, Direct2D just loves it. The upcoming December issue of the magazine will feature the next installment which covers some more advanced topics related to interoperability, but for now I thought I’d update the DWM saga for Direct2D as it’s just so simple. If you haven’t already done so please read Introducing Direct2D and Drawing with Direct2D. So far MSDN Magazine has published two introductory articles I wrote about Direct2D. With the introduction of Windows 7 comes a brand new graphics platform for the application developer and that of course is Direct2D. Both articles focused on User32/GDI which at the time was still the way to go for native application developers.

I also followed up with another article showing readers how to display controls on glass. Many moons ago, when Windows Vista was still in beta, I wrote an article showing readers how to program with the Desktop Window Manager (DWM).
