Vista Guidelines学习笔记二:If you do only one thing…

来源:百度文库 编辑:神马文学网 时间:2024/04/28 12:11:37
如果你只能做一件事……
那么Choose a command presentation that matches your program type,window types, command usage, and targetusers.(为你的程序类型、窗口类型、命令使用方式以及目标用户选择一种匹配命令表达方式。)
Vista Guidelines给出一些指导方针:
关于下拉菜单的暗示:
All menu patterns except menu bars need a drop-down arrow toindicate the presence of a pull-down menu. The presence of menus goeswithout saying in a menu bar, but not in the other patterns.
除了菜单栏以外,所有的菜单类型都应该使用一个向下的箭头,以表示一个下拉菜单的存在。
关于菜单内容:
Don‘t change menu item names dynamically. Doing so is confusing and unexpected.
不要动态地修改菜单内容。这样做会使人迷惑和难以预料。
Exception: You can change menu item names that are based on objectnames dynamically. For example, lists of recently used files or windownames can be dynamic.
除了,你可以改变基于对象名称的菜单项的名字,例如:最近使用过的用户文件或窗口名字。
Choose single word names for menu categories. Using multiple words makes the separation between categories confusing.
使用一个单词为菜单命名,使用复合的单词使类别之间的分隔变得不清晰(可能英文菜单中常出现这一问题)。
关于菜单的组织和规划:
Consider eliminating menu bars with three or fewer menucategories. If there are only a few commands, prefer lighter weightalternatives such as toolbar menus or more direct alternatives such ascommand buttons and links.
当菜单项少于3个的时候考虑去掉菜单栏。如果只有少量的命令,建议用轻量级的命令方式,如工具条菜单,或更直接的命令方式,如命令按钮或链接。
Prefer task-oriented menu categories over generic categories. Task-oriented categories make menu items easier to find.
最好使用任务导向的菜单分类而不是常规的分类。任务导向的分类会使菜单项易于被找到。
Organize the menu items into groups of seven or fewer stronglyrelated items. For this, submenus count as a single menu item in theparent menu.
使7个或更少的、具有强烈相关性菜单项成为一组。这种情况下的子菜单被看作其中一个菜单项。
Don‘t put more than 25 items within a single level of a menu (not counting submenus).
不要在一个层级的菜单中放置超过25个菜单项(不包括子菜单)。
Within a menu, put the groups in their logical order. If there is no logical order, place the most commonly used groups first.
在一个菜单中,使用符合逻辑关系的顺序放置菜单组。如果菜单没有逻辑关系,首先放置最常用的。
关于子菜单
Use at most three levels of menus. That is, you can have a primarymenu and at most two levels of submenus. Two levels of submenus shouldbe rare.
最多使用三层的菜单。这意味着,你可以有一个主菜单最多两级的子菜单。三级菜单尽量少用。
关于菜单图标的使用
Consider providing menu item icons for:
考虑在以下情况使用菜单图标:
The most commonly used menu items.
最常用的菜单项;
Menu items whose icon is standard and well known.
菜单项的图标是标准化和为人们熟知的;
Menu items whose icon well illustrates what the command does.
菜单项的图标能帮助用户理解命令。
If you use icons, don‘t feel obligated to provide them for all menuitems. Cryptic icons aren‘t helpful, create visual clutter, and preventusers from focusing on the important menu items.
如果你要用图标的话,并不是一定要为所有的菜单项都加上图标。含义模糊的图标不仅没有帮助,会引起视觉上的混乱,并且还会妨碍用户发现重要的菜单项。