Brew MP 1.0.2
This function will retrieve a pointer to a particular child widget contained within
a form. For example, an application could call IForm_GetWidget(), passing in
WID_SOFTKEYS to retrieve a pointer to the form's softkey widget.
[in] Pointer to the IForm interface object.
[in] Widget ID specifying the widget to be retrieved.
[out] Pointer to an IWidget pointer, into which the function will return a pointer
to the requested widget.
int IForm_GetWidget(IForm *pif, uint16 wid, IWidget **ppif)
AEE_SUCCESS : If the form was able to successfully retrieve the requested widget
AEE_ECLASSNOTSUPPORT : If the requested widget was not recognized by the form.
Calling IForm_GetWidget() effectively queries the form to retrieve the requested
widget as a property.