The public class WaveLinkMenu is supported on Windows Mobile, Windows CE, Palm, and DOS.
The Class WaveLinkMenu lets you easily create and use menus on a device. WaveLinkMenu objects may also be saved directly into the memory of network mobile devices for true client-server efficiency within your applications.
Fields
WLBORDER |
public static final long WLBORDER Menu Style - Automatically creates a border around your menu. |
WLNO_BORDER |
public static final long WLNO_BORDER Menu Style - Does not create a border around your menu. |
Constructors
public WaveLinkMenu()
throws WaveLinkError
public WaveLinkMenu(int bogus)
public WaveLinkMenu(IWaveLinkSession currentSession)
throws WaveLinkError
public WaveLinkMenu(WaveLinkIO ioIface)
throws WaveLinkError
Methods
Adds a menu option to the WaveLinkMenu object. |
|
Adds a single title line to an WaveLinkMenu object. |
|
Removes all menu options from the WaveLinkMenu object. |
|
Clears all title lines from the WaveLinkMenu object. |
|
Removes menu files from a device. |
|
Executes a menu file from a device's non-volatile memory and returns the selected option to your application. |
|
Returns the name of the selected menu option. |
|
Returns the total number of menu files on the device and stores the list of names in the WaveLinkMenu object. |
|
Returns the total number of menu files returned by the last call to the ListMenuFiles Method. |
|
Returns the name of a specific menu file. |
|
Sets the height of the WaveLinkMenu object. |
|
Sets the width of the WaveLinkMenu object. |
|
Resets the current WaveLinkMenu object. |
|
Sets the position, height, and width of the WaveLinkMenu object. |
|
Sets the menu style of the WaveLinkMenu object. |
|
Sets the starting left column of the WaveLinkMenu object. |
|
Sets the starting top row of the WaveLinkMenu object. |
|
Saves the current WaveLinkMenu object as a menu file to the device for later use. |
Throws
WaveLinkError
Remarks
A WaveLinkMenu object is comprised of titles and options. A title is a line or lines of text displayed at the top of a menu. A WaveLinkMenu object may contain more than one title line. Options are the choices available from the menu that may be returned by the menu.
When selected, an option returns the numeric value of its option line. For example, selecting the second option in a three option menu return the value 2 to your application.
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other