[ Previous | Next | Contents | Glossary | Home | Search ]
Motif and CDE 2.1 Style Guide Reference


Restore (Choice)

Reference

Description

Restore is an action choice that returns a window to the size it was and the position it was in before the user minimized or maximized the window. If appropriate, the Restore choice may also be represented by a restore button in the title bar of a window.

When to Use

Required
If a window can be minimized, provide a Restore choice in the window icon's window menu to allow the user to return the window from the minimized state to its previous size and position.

Required
If a window can be maximized, provide a Restore choice to allow the user to return the window from the maximized state to its previous size and position.

Guidelines

Required
If a window is maximized and the user chooses Restore from the window menu, restore the window to the size and position it had before it was maximized.

Required
If a window is minimized (iconified) and the user chooses Restore from the window icon's window menu, restore the window to the size and position it had before it was minimized.

Required
If a primary window is minimized and the user invokes Restore, restore all of the secondary windows that the application has not closed.

Required
Do not make the Restore choice available when the window is neither minimized nor maximized.

Required
Provide a restore button that implements the Restore choice on the title bar when the window is currently maximized.

Required
Replace the restore button with a maximize button in the title bar after a window has been restored to a state other than maximized.

Required
Replace the maximize button with a restore button in the title bar when the window has been maximized.

Required
Make the Restore choice the default action associated with the window icon. If the window was maximized before it was minimized, restore it to its maximized state.

Required
Allow the user to invoke the default action of the window icon by double-clicking the SELECT button on it, or by pressing Enter or keypadEnter when it has focus.

Essential Related Topics

For more information, see the Window Menu reference page.

Supplemental Related Topics

For more information, see the Maximize (Choice), Minimize (Choice), and Size (Choice) reference pages.


[ Previous | Next | Contents | Glossary | Home | Search ]