With the release of Windows Mobile 6.5.3, Microsoft has moved the OK and X buttons from the top of a maximized form to the soft menu bar at the bottom of the screen. However, as JADE creates a user‑defined menu bar and Windows does not add the OK or X button to that type of menu bar, users could not close a maximized form.
This has been changed as follows for all supported versions of Windows Mobile.
The Compact JADE control panel configuration program (jadeconfig.cpl) has been changed to add a permanent soft menu bar. Under Windows Mobile 6.5.3, this bar contains an OK button. For earlier Windows Mobile versions, the OK button is displayed in the caption line of forms.
This enables users to commit configuration changes under version Windows Mobile 6.5.3.
The jade.exe program has been changed for all Windows Mobile versions so that it creates a standard Windows soft menu bar if there are two or fewer visible top‑level menu items and they do not have images defined. Those top‑level menus are assigned to the soft menu buttons on the menu bar (a maximum of two are available).
Under Windows Mobile 6.5.3, the menu bar also contains the Windows button and an X or OK button, if required, for a maximized form. For earlier Windows versions, the X or OK button continues to be displayed in the caption line of the form. If there are more than two visible top‑level menu items or a top‑level item has a defined image, a standard Windows soft menu bar cannot be created. The menu bar is user‑defined, and under Windows Mobile 6.5.3, there is no X or OK button displayed.
In this situation, your application has to include a user‑defined menu item that performs the close functionality using JADE logic. The alternative solution is to redefine the menu structure so that there are two top‑level menu items only.
With the use of a standard Windows menu bar, a soft menu item button displays only a small amount of text. If the text is too long, the text is truncated with trailing points of ellipsis (…).
If you want your application to retain the previous JADE menu bar style:
Ensure that the form is created with three or more visible top‑level menu items (or one with an image).
In the load event of the form, hide any menu items that do not need to be shown. If the number of menu items is decreased to two or fewer, the menu bar style remains as user‑defined.
However, if the number of visible top‑level items is increased beyond two, Windows changes the menu bar to a user‑defined style and the X or OK button will again not be displayed.