The desktop forms a visual background for all operations. It provides a familiar interface for accessing documents, launching applications, switching between tasks, browsing the file system, and performing other services. The components of the H/PC desktop include a work area, a taskbar, and application shortcuts or icons, such as the Recycle Bin and Inbox. Though you cannot programmatically control the appearance of the desktop, it is important to understand its specifications so that you can design your interface accordingly. The following illustration shows the desktop of the H/PC shell.
The shell for the H/PC is similar to other Windows desktops. It contains file, folder, and shortcut icons that can be positioned anywhere on the desktop. Unlike other Windows-based platforms, however, the H/PC has a virtual border around its desktop to prevent icons from being fully obscured by the screen edge or taskbar. The desktop does not permit users to position an icon beyond the boundaries defined by the following rectangle coordinates:
(0,0, CX –16, CY –16)
Additionally, the browser in the H/PC software is integrated with Pocket Internet Explorer, which means that it contains two views: an HTML view to display Internet content and a File view to display the contents of folders. The browser assumes the appropriate view, depending on how it was launched. If it is launched by opening a folder, it assumes the File view. If it is launched by pointing to a URL, it assumes the HTML view. Each view in the browser contains it own toolbar. The File view toolbar contains controls similar to the Windows Explorer toolbar. The HTML toolbar contains controls similar to the Internet Explorer toolbar.
The taskbar is used to switch between or minimize open windows and to access global commands and other frequently used objects. It contains a Start button, window buttons, and a status area. It also contains a Desktop button that provides quick access to the desktop from any application. Because H/PC applications do not have title bars, users identify a running application primarily by the icon and text displayed on its taskbar button. The following illustration shows the H/PC taskbar.
By default, the taskbar is the top window in the H/PC shell. When fully displayed, the taskbar is 26 pixels high and either 480 or 640 pixels wide, depending on the resolution of the display. The taskbar in the shell for H/PC 2.0 supports autohide functionality. While hidden, the taskbar is 5 pixels tall. When a user hides the taskbar, a notification is sent to all applications that the usable vertical screen is increased by 21 pixels. To reactivate a hidden taskbar, each H/PC touch screen contains a 2.5 mm tap region around all four edges of the display. This, combined with the height of the taskbar, provides a generous tap region for activating the taskbar.
The H/PC shell taskbar also contains the following elements:
The Start menu has two components: the main menu and cascading menus. The main menu has a maximum height of 240 pixels, the height of the display. Thus, the menu displays only the number of items that can fit into this region. If the contents exceed this number, the menu displays as many items as possible in alphabetical order. The width of the main menu cannot exceed 200 pixels. Any menu items wider than 200 pixels are cropped. The cropped text is replaced with ellipses.
Cascading menus are also displayed in alphabetical order. They have a maximum height of 240 pixels. If the number of items displayed exceeds the height of the screen, the menu adopts a multiple-column mode and shows the remaining menu items in the adjacent column.
Like other Windows-based platforms, main and cascading menus use the 16x16-pixel icon associated with the menu item. Items that cascade to additional menus are appended with a triangular arrow.
The H/PC displays window buttons for all open parent windows. Any open window can be minimized by tapping its Window button on the taskbar. Window buttons are 23 pixels tall; button width is equal to the width of the available taskbar tray area divided by the number of buttons. The maximum button width is one-third of the available tray area. The minimum button width is 26 pixels. All Window buttons display an icon and caption. The icon is 16x16 pixels, so the window button is always able to display the entire icon. The caption truncates as the width of the button decreases in size. Activated window buttons do not have bold captions.
The Desktop button provides quick access to the desktop. When the button is pressed, it brings the desktop forward and into focus, effectively minimizing any open application. When the desktop is in the foreground, the Desktop button appears depressed to denote that the desktop is currently displayed. Pressing the Desktop button while the Desktop button appears depressed causes the previously active application to reactivate. The Desktop button is 23x22 pixels, the size of the standard toolbar button, and is located on the right edge of the taskbar.
You can add a status indicator to the notification area of the taskbar. Indicators are represented by graphics supplied by your application. They contain information that is global or that needs monitoring by the user when working with other applications. When adding a status indicator to the taskbar, provide a pop-up window that displays additional information or controls for the object when the user taps the indicator icon. Also provide a status indicator that displays commands for the object when the user performs an ALT+Tap action on the indicator icon. Carry out the default command defined in the pop-up menu when the user double-taps the indicator icon. Display a ToolTip that indicates what the status indicator represents, and provide the user with an option not to display the status indicator.
Status indicators are 16x16 pixels, except for the clock, which occupies a fixed space. All status indicators are placed 3 pixels to the left of the clock with 0 pixels between each indicator. If you add a status indicator to the taskbar, you must define its access method. The methods supported by the taskbar include the tap-down action, tap-up action, double-tap action, and ALT+Tap.