windows:Windows-environment/notification-area

出自UXGuide.net

跳转到: 导航, 搜索

通知区域
Notification Area

目录


“通知区域”是任务栏的一部分,用于为那些不出现在桌面上的系统或程序特性显示图标。通知区域也为通知和状态提供了临时的位置源。

该区域中的项被称为“通知区域图标”,或者在通知区域的上下文中简称为“图标”。

Aa511448_NotificationArea01(en-us,MSDN_10).png


通知区域

To give users control of their desktop in Windows® 7, not all notification area icons are displayed by default. Rather, icons are displayed in the notification area overflow unless promoted to the notification area by the user.

Aa511448_NotificationArea01a(en-us,MSDN_10).png


The notification area overflow.

注:开始菜单任务栏通知气球状提示相关的设计规范请参考各自相应的章节。


这样的用户界面是否正确?

考虑下列问题以进行判断:

错误:
Aa511448_NotificationArea02(en-us,MSDN_10).png
在这个示例中,磁盘驱动器活动图标是不合适的,因为用户不会因此而改变他们的行为。
Programs designed for Windows 7 can use overlay icons on the program's taskbar button to show change of status, as well as taskbar button progress bars to show progress of long-running tasks.
Aa511448_NotificationArea05(en-us,MSDN_10).png
在这个出自 Windows Vista® 的示例中,快速启动栏用于快速启动 Windows® Explorer 和 Windows Internet Explorer。
For programs designed for Windows 7, users can pin taskbar buttons for quick program access. Programs can use a Jump List or thumbnail toolbar to access frequently used commands directly from a program's toolbar button. The Quick Launch area isn't displayed by default in Windows 7.
Aa511448_NotificationArea06(en-us,MSDN_10).png
In this example, a Jump List is used for quick command access.


设计理念

Windows 桌面

Windows 桌面包含下列程序访问点:

Aa511448_NotificationArea07(en-us,MSDN_10).png


Windows 桌面入口点由开始按钮、任务栏、桌面工具栏及通知区域组成。注意任务栏按钮的缩略图特性。

The Windows desktop is a limited, shared resource that is the user's entry point to Windows. Leave users in control. 你应当按照其本意来进行使用——任何其他的使用方式都应视为滥用。Never view them as ways to promote awareness of your program or its brand.


Using the notification area appropriately

The notification area was originally intended as a temporary source for notifications and status. Its efficiency and convenience has encouraged developers to give it other purposes, such as launching programs and executing commands. Unfortunately over time, these additions made the notification area too large and noisy, and confused its purpose with the other desktop access points.

Windows XP addressed the scale problem by making the area collapsible and hiding the unused icons. Windows Vista addressed the noise by removing unnecessary, annoying notifications. Windows 7 has gone a step further by focusing the notification on its original purpose of being a notification source. Most icons are hidden by default in Windows 7, but can be promoted to the notification area manually, by the user. To keep users in control of their desktops, there is no way for your program to perform this promotion automatically. Windows still displays notifications for hidden icons by promoting them temporarily.

Aa511448_NotificationArea08(en-us,MSDN_10).png


In Windows 7, most notification area icons are hidden by default.

In addition, Windows 7 supports many features directly in the taskbar buttons. Specifically, you can use:

In short, if your program has desktop presence, take full advantage of the Windows 7 taskbar button features for these purposes. Keep the notification area icons focused on displaying notifications and status.


让用户来控制

让用户来控制已经不仅仅是正确使用通知区域。根据你的图标的特性不同,你可能希望让用户进行下列操作:

虽然在图标的快捷菜单上几乎把所有设置都提供出来是不错的主意,但程序的默认体验应当适合于大多数用户。不要默认把什么都打开然后期望用户来一个一个关掉。而是默认打开最重要的特性,让用户根据他们的需要启用额外的特性。

最重要的四件事:

  1. 不要滥用通知区域。仅将其用于那些不会出现在桌面上的特性或是作为状态或通知的位置源。
  2. 让用户来控制。提供合适的选项以控制图标、其通知及背后的功能特性。
  3. 提供适用于大多数用户的默认体验。让用户来启用他们需要的功能而不是强迫他们关掉他们不想要的。
  4. Take full advantage of the Windows 7 taskbar button features to show status and make your program's most frequently performed tasks efficient.


Usage patterns

Notification area icons have several usage patterns:

System status and access

Displayed continuously to show important but not critical system status, and to provide access to relevant features and settings.

System features that need notification area icons have no persistent desktop presence. Can also be used as a notification source.

Aa511448_NotificationArea09(en-us,MSDN_10).png


In this example, the battery, network, and volume icons are displayed continuously when applicable.

Background task status and access

Displayed while a background task is running to show status and provide access to features and settings.

Background processes need notification area icons when they have no desktop presence. Can also be used as a notification source.

Aa511448_NotificationArea10(en-us,MSDN_10).png


In this example, the Action Center icon allows users to check its status even when it has no desktop presence.

Temporary event status

Programs with desktop presence can display icons temporarily to show important events or changes in status.

Aa511448_NotificationArea11(en-us,MSDN_10).png


In this example, icons for printing and installing updates are displayed temporarily to show important events or changes in status.

Temporary notification source

Displayed temporarily to show a notification. Removed after a timeout, or when the underlying problem is addressed or task performed.

Temporary icons are preferred for pure notification sources. Don't display an icon that doesn't provide useful, relevant, dynamic status just because a feature might need to display a notification in the future.

Aa511448_NotificationArea12(en-us,MSDN_10).png


In this example, the plug-and-play icon is displayed while a new hardware detected notification is shown.

Minimized single-instance application

To reduce taskbar clutter, a single-instance, long-running application can be minimized to a notification area icon instead.

Aa511448_NotificationArea12a(en-us,MSDN_10).png


In this example from Windows Vista, Outlook and Windows Live™ Messenger are single-instance applications that minimize to notification area icons.

Consider using this pattern only if all of the following apply:

  • The application can have only a single instance.
  • The application is run for an extended period of time.
  • The icon shows status.
  • The icon can be a notification source.
  • Doing so is optional and users must opt in.

If all these conditions apply, minimizing to an icon eliminates having two access points when only one is necessary.

Note: This icon pattern is no longer recommended for Windows 7. Use regular taskbar buttons instead if your program has desktop presence.

Aa511448_NotificationArea14(en-us,MSDN_10).png


In this example from Windows 7, a regular taskbar button takes little space, but benefits from the Windows 7 taskbar button features, including Jump Lists, overlay icons, and rich thumbnails.


Guidelines

General


When to show


Where to show

Aa511448_NotificationArea13a(en-us,MSDN_10).png
Windows launched from notification area icons are displayed near the notification area.


Icons


For general icon guidelines and examples, see icons.


Interaction

Note: The following click events should occur on mouse up, not mouse down.


Hover

Aa511448_NotificationArea25(en-us,MSDN_10).png
In this example, a tooltip is used to describe the icon on hover.

For infotip text guidelines, see the Text section of this article.


Left single-click

Aa511448_NotificationArea26(en-us,MSDN_10).png
In these examples, left clicking displays popup windows with the most useful settings.
Aa511448_NotificationArea27a(en-us,MSDN_10).png
In this example, left clicking displays the status flyout.
Users expect left single-clicks to display something, so not displaying anything makes a notification area icon appear unresponsive.


Left double-click


Right-click


Context menus

Primary commands
Open (default, list first, in bold)
Run
Secondary commands
<separator>
Suspend/resume enable/disable command (check mark)
"Minimized to notification area" (check mark)
Opt in to notifications (check mark)
"Display icon in notification area" (check mark)
<separator>
"Options"
"Exit"
Aa511448_NotificationArea28(en-us,MSDN_10).png
In this example, Windows Defender has specific Open and Run commands.
Correct:
Aa511448_NotificationArea28(en-us,MSDN_10).png
Incorrect:
Aa511448_NotificationArea29(en-us,MSDN_10).png
In the incorrect example, Windows Defender should use a check mark to indicate the current state.
Aa511448_NotificationArea30(en-us,MSDN_10).png
In this example, Outlook allows users to choose the notifications they receive from the icon.

For general context menu guidelines and examples, see Menus.


Rich tooltips

Incorrect:
Aa511448_NotificationArea32a(en-us,MSDN_10).png
Correct:
Aa511448_NotificationArea32(en-us,MSDN_10).png
In the incorrect example, the calendar icon doesn't make the date easier to understand.
Correct:
Aa511448_NotificationArea21a(en-us,MSDN_10).png
Incorrect:
Aa511448_NotificationArea21b(en-us,MSDN_10).png
In the incorrect example, the current power plan appears to be a link, but it is impossible to click.


Notification area flyouts

Aa511448_NotificationArea35(en-us,MSDN_10).png


This example shows a notification area flyout using the recommended presentation.


Options dialog box

For general Options dialog box guidelines and examples, see Property Windows.


Minimizing programs to the notification area

Note: Minimizing program windows to the notification area is no longer recommended for Windows 7. Use regular taskbar buttons instead. Your program may support both mechanisms for backward compatibility.


Text

Infotips

Aa511448_NotificationArea36(en-us,MSDN_10).png
Aa511448_NotificationArea37(en-us,MSDN_10).png
Aa511448_NotificationArea38(en-us,MSDN_10).png
Status list with each item on a separate line
Aa511448_NotificationArea39(en-us,MSDN_10).png

Infotip phrasing:

Incorrect:
Aa511448_NotificationArea40(en-us,MSDN_10).png
In this example, the infotip has extraneous information.
Incorrect:
Aa511448_NotificationArea41(en-us,MSDN_10).png
In this example, the Wireless Network Connection icon gives right-click instructions.


Documentation

When referring to the notification area:

When referring to a notification area icon:

Example: To check the network status quickly, click the Network icon in the notification area.

取自“http://www.uxguide.net/wiki/windows:Windows-environment/notification-area
个人工具
名字空间
变换
动作
导航
工具箱