Home > Articles > Operating Systems, Server

The Windows Vista Interface

Paul McFedries
  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close WindowPaul McFedries

Paul McFedries

Learn more…

How Paul McFedries Gets Under the Hood of Microsoft Products
Dec 10, 2009
Tweaking the Windows 7 Registry
Jul 17, 2009
Running Scripts to Enhance and Improve Windows
Jun 11, 2009
Building a Budget PC
Jun 16, 2008
Accessing and Sharing Network Resources in Windows Vista
May 28, 2008
Programming the Windows Script Host
Apr 29, 2008
Tricks for Working with Word 2007 Documents
Mar 31, 2008
Building Basic Formulas in Excel 2007
Mar 26, 2008
Collaborating with Windows Meeting Space
Feb 15, 2008
Troubleshooting Tools Included with Windows Vista
Feb 15, 2008
Using Virtual Private Network Connections in Windows Vista
Feb 15, 2008
Implementing Group Policies with Windows Vista
Feb 8, 2008
Programming the Windows Script Host
Feb 8, 2008
Windows Vista's Stability Improvements
Feb 8, 2008
Adding Devices to the Windows Home Server Network
Sep 21, 2007
Understanding Program Variables in VBA
Jun 15, 2007
Designing Microsoft Access 2007 Forms for Efficient and Accurate Data Entry
May 4, 2007
Getting the Most Out of Windows Vista User Accounts
Mar 9, 2007
The Windows Vista Interface
Oct 6, 2006
Mastering File Types in Windows XP
Nov 4, 2005
Constructing Knockout Presentations in PowerPoint
Apr 22, 2005
Working with Multiple-Table Queries in Access
Sep 10, 2004
Building Basic Formulas in Excel
Aug 27, 2004
Understanding Program Variables in VBA
Apr 2, 2004
From Buck-Naked to Beautiful: Dressing Up Your Page
Jun 7, 2002
Performing Financial Calculations
Sep 2, 2001
Creating and Using Cookies
Sep 2, 2001
Encrypting Text with JavaScript
Sep 2, 2001
Making Form Fields Mandatory
Sep 2, 2001
Cross-Browser Solutions: Detection and Generic Functions
Sep 2, 2001
Understanding Variables in JavaScript
Jul 6, 2001
Formulas and Functions: Microsoft Excel 2010, Rough CutsFormulas and Functions: Microsoft Excel 2010, Rough Cuts
Feb 2, 2010
Microsoft Windows Home Server Unleashed, Rough Cuts, 2nd EditionMicrosoft Windows Home Server Unleashed, Rough Cuts, 2nd Edition
Jan 6, 2010
Mac OS X Snow Leopard In DepthMac OS X Snow Leopard In Depth
Sep 22, 2009
Mac OS X Snow Leopard In Depth App (iPhone)Mac OS X Snow Leopard In Depth App (iPhone)
Sep 22, 2009
Mac OS X Snow Leopard In Depth, Adobe ReaderMac OS X Snow Leopard In Depth, Adobe Reader
Sep 15, 2009
Microsoft Windows 7 UnleashedMicrosoft Windows 7 Unleashed
Jul 14, 2009
Microsoft Windows 7 Unleashed, Adobe ReaderMicrosoft Windows 7 Unleashed, Adobe Reader
Jul 8, 2009
Tweak It and Freak It: A Killer Guide to Making Windows Run Your WayTweak It and Freak It: A Killer Guide to Making Windows Run Your Way
Mar 27, 2009
Tweak It and Freak It: A Killer Guide to Making Windows Run Your Way, Adobe ReaderTweak It and Freak It: A Killer Guide to Making Windows Run Your Way, Adobe Reader
Mar 18, 2009
Build It. Fix It. Own It: A Beginner's Guide to Building and Upgrading a PCBuild It. Fix It. Own It: A Beginner's Guide to Building and Upgrading a PC
May 19, 2008
Build It. Fix It. Own It: A Beginner's Guide to Building and Upgrading a PC, Adobe ReaderBuild It. Fix It. Own It: A Beginner's Guide to Building and Upgrading a PC, Adobe Reader
May 7, 2008
Microsoft Windows Vista Unleashed, 2nd EditionMicrosoft Windows Vista Unleashed, 2nd Edition
Apr 4, 2008
Microsoft Windows Vista Unleashed, Adobe Reader, 2nd EditionMicrosoft Windows Vista Unleashed, Adobe Reader, 2nd Edition
Apr 4, 2008
Networking with Microsoft Windows Vista: Your Guide to Easy and Secure Windows Vista NetworkingNetworking with Microsoft Windows Vista: Your Guide to Easy and Secure Windows Vista Networking
Dec 19, 2007
Networking with Microsoft Windows Vista: Your Guide to Easy and Secure Windows Vista Networking (Adobe Reader)Networking with Microsoft Windows Vista: Your Guide to Easy and Secure Windows Vista Networking (Adobe Reader)
Dec 19, 2007
Microsoft Windows Home Server UnleashedMicrosoft Windows Home Server Unleashed
Sep 13, 2007
Microsoft Windows Home Server Unleashed (Adobe Reader)Microsoft Windows Home Server Unleashed (Adobe Reader)
Sep 13, 2007
Tricks of the Microsoft Office 2007 GurusTricks of the Microsoft Office 2007 Gurus
May 16, 2007
Tricks of the Microsoft Office 2007 Gurus (Adobe Reader), 2nd EditionTricks of the Microsoft Office 2007 Gurus (Adobe Reader), 2nd Edition
May 16, 2007
Microsoft Office Access 2007 Forms, Reports, and QueriesMicrosoft Office Access 2007 Forms, Reports, and Queries
May 1, 2007
Microsoft Office Access 2007 Forms, Reports, and Queries (Adobe Reader)Microsoft Office Access 2007 Forms, Reports, and Queries (Adobe Reader)
May 1, 2007
VBA for the 2007 Microsoft Office SystemVBA for the 2007 Microsoft Office System
Mar 30, 2007
VBA for the 2007 Microsoft Office System (Adobe Reader)VBA for the 2007 Microsoft Office System (Adobe Reader)
Mar 30, 2007
Formulas and Functions with Microsoft Office Excel 2007Formulas and Functions with Microsoft Office Excel 2007
Mar 14, 2007
Formulas and Functions with Microsoft Office Excel 2007 (Adobe Reader)Formulas and Functions with Microsoft Office Excel 2007 (Adobe Reader)
Mar 14, 2007
Microsoft Windows Vista Unleashed, Adobe ReaderMicrosoft Windows Vista Unleashed, Adobe Reader
Dec 8, 2006
Microsoft Windows Vista UnveiledMicrosoft Windows Vista Unveiled
Jun 9, 2006
Microsoft Windows Vista Unveiled, Adobe ReaderMicrosoft Windows Vista Unveiled, Adobe Reader
Jun 9, 2006
Special Edition Using JavaScript, Adobe ReaderSpecial Edition Using JavaScript, Adobe Reader
Feb 14, 2006
Microsoft Windows XP UnleashedMicrosoft Windows XP Unleashed
Sep 6, 2005
Microsoft Windows XP Unleashed, Adobe ReaderMicrosoft Windows XP Unleashed, Adobe Reader
Sep 6, 2005
Tricks of the Microsoft Office GurusTricks of the Microsoft Office Gurus
Apr 12, 2005
Microsoft Access 2003 Forms, Reports, and QueriesMicrosoft Access 2003 Forms, Reports, and Queries
Aug 18, 2004
Microsoft Access 2003 Forms, Reports, and Queries, Adobe ReaderMicrosoft Access 2003 Forms, Reports, and Queries, Adobe Reader
Aug 18, 2004
Formulas and Functions with Microsoft Excel 2003Formulas and Functions with Microsoft Excel 2003
Jun 11, 2004
Formulas and Functions with Microsoft Excel 2003, Adobe ReaderFormulas and Functions with Microsoft Excel 2003, Adobe Reader
Jun 11, 2004
Absolute Beginner's Guide to VBAAbsolute Beginner's Guide to VBA
Mar 9, 2004
Absolute Beginner's Guide to VBA, Adobe ReaderAbsolute Beginner's Guide to VBA, Adobe Reader
Mar 9, 2004
Unauthorized Guide to Windows Millennium, TheUnauthorized Guide to Windows Millennium, The
Sep 20, 2000
The Unauthorized Guide to Windows 98, 2nd EditionThe Unauthorized Guide to Windows 98, 2nd Edition
Aug 28, 1999

Sorry, this author hasn't posted any blogs.

Microsoft Windows Vista Unveiled

This chapter is from the book
Microsoft Windows Vista Unveiled

A lot has been said about the new user interface for Windows Vista. In this chapter from his latest book, Paul McFedries runs through the foundation, functions, and eye candy for Vista's latest UI.

In This Chapter

  • The Windows Presentation Foundation
  • General Interface Changes
  • The Aero Glass Theme
  • Better Cool Switches: Flip and Flip 3D
  • Taskbar Thumbnails
  • New Folder Windows
  • Gadgets and the Windows Sidebar

Whenever Microsoft releases a new operating system, the one thing anyone seems to want to talk about is the new interface. What does it look like? Is it cool? Can I run it? On the surface this seems superficial because, after all, Windows is and should be more than just a pretty interface. Don’t things such as stability and security mean more? Shouldn’t the goal of any OS be to just get out of the way and let us get on with our work, perhaps a tad more productively than before?

That’s all true, but the operating system interface shouldn’t be relegated to mere eye candy status. After all, we use the operating system’s interface for many nontrivial tasks during a typical day: starting programs; saving our work; finding documents; moving, copying, and deleting files; maintaining the computer; troubleshooting problems; networking with others; and so much more. If the interface to all these tasks is ugly, inefficient, or confusing, then we’ll simply get less work done or have less fun than we would otherwise.

So how does Vista’s interface rate? As you’ll see in this chapter, the answer has to be "pretty darned good," although with a few reservations. Vista’s interface is almost certainly the best that Microsoft has come up with so far (some would claim that’s not saying much), and it’s got plenty of eye-popping and jaw-dropping features without descending into gaudiness and mere trickery.

The Windows Presentation Foundation

All the interface changes that come in the Vista package are a direct or indirect result of Vista’s new graphical subsystem. Code-named Avalon but now officially called Windows Presentation Foundation (WPF), Vista’s graphical underpinnings should prove to be a boon to both developers and end users. But it won’t be just the Vista community that benefits from WPF because Microsoft has decided to backport WPF for Windows XP and Windows Server 2003.

Developers will (and, by all accounts, already do) love WPF because it provides a one-stop shop for all their graphical needs. Before WPF, developers had to work with a rather alarming number of technologies and application programming interfaces (APIs). For example, to draw a simple 2D shape, they called on the Graphics Device Interface (GDI); for 3D objects, they used Direct3D or OpenGL; for media objects, they used DirectShow; and for user interface objects, they used USER32 or Windows Forms, to name just a few. Some of these technologies (such as the GDI) have been around since Windows 1.0. Clearly, it was time for a change.

With WPF, developers can do 2D, 3D, animation, imaging, video, audio, special effects, and text rendering using a single API that works consistently no matter what type of object the developer is working with. This greatly simplifies user interface programming, resulting in more robust applications that are delivered to market faster than ever.

WPF also introduced a new markup language called XAML—eXtensible Application Markup Language—which acts as a kind of front end for building application interfaces. The idea here is that by using relatively simple markup code, developers and designers can work together to build user interfaces.

From the user’s perspective, the main problem has been that although our graphics processing units (GPUs) have been getting ever more powerful, and our video adapters have been populated with more graphics memory, our operating systems and applications—with the notable exception of the gaming sphere—have not been programmed to take advantage of all this powerful hardware.

WPF changes all that by implementing a new graphics model that can take full advantage of today’s powerful GPUs and scads of video RAM. With WPF, all output goes through the powerful Direct3D layer, which means that all graphical work is offloaded to the GPU, thus saving the CPU for more important tasks. (Technically, WPF will only pass the graphics load to the GPU in video adapters that support DirectX 7 or later.) Also, the output uses vector graphics, a rendering technology in which each image on the screen is composed of points, lines, polygons, and curves (these are called primitives). Unlike raster graphics, in which each screen image is composed of pixels, vector graphics support extremely high-resolution images and are completely scalable (that is, you can zoom in and zoom out) without any loss of quality in the image.

Also, WPF implements a new technology called the Desktop Window Manager (DWM), which assumes complete control over what’s displayed on the screen. In previous versions of Windows, applications used APIs to display their graphics directly on the screen. Now the DWM takes over that chore. Each application draws its graphics to an off-screen buffer, and then the DWM composites the buffer contents on the screen.

All this means that WPF brings some significant changes to Windows graphics:

  • No more window "tearing"—When you move a window quickly in any GDI-based version of Windows, the edges of the window appear to temporarily "tear" because the system has trouble keeping up with the graphical changes that are happening onscreen. On WDF systems, however, the graphics route through the hardware-accelerated GPU, so window movement remains smooth and seamless no matter how quickly you drag across the screen.
  • Better and more useful animations—Microsoft realized a few years ago that some sort of animation effects were necessary, particularly for novice users. For example, new Windows users are often surprised at the abrupt disappearance of a window when they click the Minimize button. The user either thinks he has closed the program or that he has done something wrong. With an animated minimize, however, the user can "see" the window going down to the toolbar, which offers a vital visual clue about what just happened. With the power of WPF available, Microsoft has implemented animations of much higher quality than those seen in, say, Windows XP. For example, windows that are being moved quickly or minimized have a motion blur effect, which effectively highlights the movement of the window.
  • Improved scaling—With vector-based graphics, you can scale any image bigger or smaller without any loss in the image quality. This is simply not possibly with raster-based graphics. For example, if you have ever tried using larger icons in Windows or a program toolbar, you know that the resulting icons look blurry and jagged. With WPF, everything is drawn with vectors, so you can scale windows and icons as big (or as small) as you want, and the objects will display with no loss in quality.
  • Transparency—Drawing an object so that it offers some level of transparency has always been a tall order for the GDI because transparency effects require hardware acceleration, and the GDI didn’t have access to that part of the GPU (for the most part). Any developer trying to get transparency via the GDI would end up with a program that slowed the system to a crawl. With WPF, however, transparency effects are easy because a dedicated GPU is much more capable of rendering them without any effect on overall performance.
  • Video as just another graphical object—Most of us think of video as a real performance killer. Just running video in a single window can slow your system noticeably, and video doesn’t move or scale well: If you try, you get dropped frames by the cartload. That all changes in WPF because it treats video as though it were any other graphic object. Thanks to WPF’s direct access to the GPU’s hardware acceleration, you can move and animate running videos without dropping frames or affecting the performance of the CPU. On a practical level, this enables Vista to show running video when you press Alt+Tab to switch windows (see the section "Better Cool Switches: Flip and Flip 3D," later in this chapter) and when you move your mouse over the video window’s icon in the taskbar (see "Taskbar Thumbnails," later in this chapter).
  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Jennifer  BortelWin FREE iPhone Developer Books and Videos- Introducing @InformIT Giveaways
By Jennifer Bortel on February 5, 2010 No Comments

Apples’s recent iPad announcement made our hearts flutter so we couldn’t resist making an announcement of our own!

Today marks the first ever @InformIT Giveaway!

We’ll regularly post a video like this one profiling spectacular prizes we’re giving away—from books and videos to T-shirts and other exciting stuff. Check out the video below to see the giveaways for today, and then scroll down for more prize details and instructions on how to win them!

So Far So Good
By John Traenkenschuh on February 2, 2010 No Comments

So far, Win 7 is making a thoroughbred of what has been a plough mule laptop

Dustin Sullivan"Every OSX developer should have this book on their desk."
By Dustin Sullivan on February 1, 2010 No Comments

That was the sentence Mike Riley ended his recent Dr Dobb's CodeTalk review of Cocoa Programming Developer's Handbook with.

See All Related Blogs

Informit Network