WireLess Studio Widgets Developer's Guide
WSWDG Contents → Widgets

Wireless Studio Widgets

The following table contains the list of the widgets that can be created using CreateWidget and attached to a form by calling the method AddObject.

Visible Widgets

Name Description
WS_BITMAP This widget displays a bitmap loaded from a file.
WS_BUTTON A pushbutton that triggers an event when its clicked.
WS_CHECKBOX An empty check box with text.
WS_FIELD A rectangular control in which the user can enter text.
WS_HTML_CTRL This control allows the user to navigate on a web page.
WS_LABEL A static control that can display a text.
WS_LINE A vertical or horizontal line.
WS_LIST_CTRL A multi line, multi column control that allows to display large data sets.
WS_MENU A control that display options, can be used as a list box, combo box or button menu.
WS_PROGRESS_BAR A control that can be used to indicate the progress of a lengthy operation.
WS_RADIO_BUTTON Displays a small circle with text that can be checked.

Not visible Widgets

The following widgets can't be created nor attached to a form, and of course they can't be seen by the user.

Name Description
Function Keys controller This control manages all the Function key events
Scanner controller This control allows to handle the events generated the by the scanner.

Limitations

A 2 KB buffer is used when a widget is serialized and sent to the mobile unit. If the widget total size is greater than 2 KB, the method SaveToTerminal will return FALSE and the error WS_OBJECT_IS_TOO_BIG will be set. This constraint also applies when the size of modifications made to widget surpass the 2 KB limit and the method CommitChanges is invoked. Similar situations may occur when Show and GetEvent are called, since those methods can invoke SaveToTerminal and CommitChanges respectively.