Tip

New features in Windows 7 bring new UI considerations for developers

Yuval Shavit, Associate Editor
Windows 7 doesn't have the longest list of new features, but it does make a couple of key changes from Vista. The biggest is the new taskbar, which itself has several new features that developers can take advantage of to make their applications easier to use and more efficient. These features were announced at Microsoft's PDC conference in October, but the pre-beta build Microsoft released at the time didn't have them. With the Windows 7 beta now available, programmers can finally update their programs to fit with the system's new look and feel.

But before developers start adding new UI elements, they should make sure their program's fundamentals are solid. Although Windows 7 improved the user account control (UAC) function Vista introduced, developers should still make sure their programs are as compatible as possible with UAC. One of Vista's headaches was that any process that modified the system would cause a UAC prompt, annoying users. With Windows 7, processes that users explicitly launch -- by double-clicking an icon, for instance -- won't bring up a UAC prompt. Still, it's important to elevate permissions with UAC correctly for security as well as usability concerns.

Designing programs for the Windows 7 taskbar

Windows 7's most exciting set of new features for developers is in the taskbar, which Microsoft has significantly changed. Instead of each window having its own tab, each program in Windows 7 is given an icon on the taskbar. Hovering the cursor over an icon brings up a preview of that program's windows, while right-clicking on it -- or clicking on it and dragging upwards -- brings up the program's jump lists, a new feature in Windows 7.

Microsoft is also reclaiming the notification area in Windows 7. Only a couple of standard icons will appear on the taskbar by default; the rest will live in a customizable popup box, although users can drag icons to the main bar. For developers, this means that applications that use an icon in the notification area as a quick access point for common functions will no longer be as convenient for users. Programs should use jump lists instead.

Unlike UAC's new behavior or the refined notification area, jump lists are a completely new feature in Windows 7. Jump lists are conceptually similar to per-application Start menus, said Rob Jarrett, senior design engineer on Microsoft's core user experience team, at a session on Windows 7 at PDC. Programs that use Windows' "recent documents" functionality through SHAddToRecentDocs will have their jump lists automatically populated with that list, but developers must explicitly program any additional functionality. Jump lists can contain "nouns," such as recent or common documents, or "verbs," which are commands. For instance, a music player may list the most recently played files as well as play, pause and fast-forward commands.

For many programmers, Windows 7 won't be a major change from Vista. Developers who haven't yet updated their applications to work with UAC should consider doing so soon, but many of the other changes to Microsoft's next operating system are cosmetic. Still, developers should take advantage of this beta to update their program's UI -- after all, looks matter.

This was first published in January 2009

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.