This method is currently deprecated due to the use of memory management functions not compatible with mod1 modules. In the future, a mod1 compatible (IEnv based) function will be provided as IWidget_SetText.
int IWIDGET_SetText(IWidget* piWidget, const AECHAR* pwszTxt, boolean bFree);
AEE_SUCCESS - If the static widget is able to successfully set the text. AEE_EFAILED - If the text could not be set.
- Calling IWIDGET_SetText() will change the value model and trigger an update of any attached objects, including the widget associated with the text.