Developer

API Reference

IController_SetWidget()

Brew Release
Brew MP 1.0.2
See Also
- IController_SetHandler
Description
This function wraps the IController around a target widget, and makes the target widget the child of the IController. Once wrapped, the controller will provide controller services to the wrapped widget.
Interface
Prototype
   int     IController_SetWidget(IController* pif, IWidget* piWidget); 
Return
AEE_SUCCESS - if the controller was successfully assigned to the widget, AEE_EFAILED otherwise.
Side Effect
IController is attached as the handler to the widget.
Comment
None
  • Follow