Support for bypassing the printer setup dialog box  Deployment to WM 5 emulators

Release Bulletin PocketBuilder™ 2.0.4

Runtime menu modification for WM 5 platforms

PocketBuilder uses two different menu styles. The following table describes the available menu styles:

Menu style

Description

Modern

Menu style for all Smartphone devices. This style can also be displayed on Pocket PC devices with the WM 5 operating system. In this style, the top-level menu displays as two adjoining buttons, with button labels corresponding to the menu item names. For Smartphones, menus using this style must have exactly two top-level menu items. (You can omit a label for one of the top-level menu items if you want text to display for only one of the menu buttons.) For Pocket PC devices, the menus can have either one or two top-level menu items.

Legacy

Style used for Pocket PC devices with platforms older than WM 5. You can use up to six top-level menu items. The menus display as on the desktop, except that they are arranged at the bottom of an open window instead of the top. This style is also displayed on Pocket PC devices using the WM 5 platform when a menu contains more than two top-level menu items.

Microsoft Windows Mobile 5.0 (WM 5) is designed to facilitate one-handed operation of devices that use this platform. To support this design goal, Microsoft recommends using a maximum of two top-level menu items in all WM 5 applications. Although this is not yet a requirement for Pocket PC devices, it has been and continues to be a requirement for Smartphone devices.

At runtime, the PocketBuilder VM determines whether the operating system platform is WM 5. If it is, and the application that you deploy opens a window with a menu containing one or two top-level menu items, PocketBuilder changes the menu design to the style used by menus on Smartphone devices—that is, the top-level menu displays as two adjoining buttons, with labels corresponding to the menu item names.

If, however, a window you open on a WM 5 Pocket PC uses a menu with more than two top-level menu items, the menu style remains the same as the menu style on Pocket PC devices that do not use the WM 5 platform. After a menu with this legacy style displays, all menus in the same application display with the legacy style, even if they have only one or two top-level menu items.





Copyright © 2006. Sybase Inc. All rights reserved. Deployment to WM 5 emulators

View this release bulletin as PDF