Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This section describes the objects that can be scripted by Windows Mobile Widgets.

In This Section

BatteryLevel Object

Used in conjunction with the SystemState object to determine the device’s battery level.

BatteryState Object

Used in conjunction with the SystemState object to determine the device’s battery state.

Menu Object

Creates menus for the device’s soft keys.

MenuItem Object

Represents a menu item used by the Menu object to create menus.

SystemState Object

Provides information about the device such as battery state, connection state, and screen orientation.

widget Object

Provides metadata about the running widget, provides functions for responding to hide and show events, and exposes a preferences API for persisting data.

WidgetIcon Object

Exposes information about an icon used by the widget object.