API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IFORM_GETSOFTWIDGET()

Brew Release
Brew MP 1.0.2
See Also
Description
This function will retrieve a pointer to the form's softkey widget.
Params
p
[]:
[in] Pointer to the IForm interface object.
w
[]:
[out] Pointer to an IWidget pointer, into which the function will return a pointer to the form's softkey widget.
Interface
Prototype
  •    int IForm_GetSoftWidget(IForm *p, IWidget **w)
    
Return
  • AEE_SUCCESS : If the form was able to successfully retrieve the softkey widget. AEE_ECLASSNOTSUPPORT : If the form does not support the use of a softkey widget.
    A pointer to the form's softkey widget is returned in 'w'.
Side Effect
  • The softkey widget is returned in *w.
Comments
The pointer passed in the 'w' parameter is a double-indirection -- i.e. it is a pointer to a pointer. Applications should use care in ensuring that the proper level of indirection is used in calling the function.