O'Reilly logo

Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition by Matthew MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Vista-Style Windows

One of the glaring oversights in WPF is that it doesn't include any managed classes that wrap the new features in Vista. You may have already seen the lack of integration with the UAC security model (which may require you to write a manifest, as described in Chapter 3). Just as conspicuous is the lack of support for extending the "glass blur" effect in window frames and creating dialog boxes using the new task dialog box style.

Fortunately, none of these missing features is truly out of reach. You can gain access to any of them using .NET's P/Invoke feature to make unmanaged calls to the Win32 API. In the following sections, you'll learn how to use Vista's glass effect and new dialog boxes.

But before you go any further, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required