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

Developer

API Reference

IWIDGET_SETTARGETWIDGET()

Brew Release
Brew MP 1.0.2
See Also
- IWidget_GetTargetWidget
Description
Scrollbar can also be used seperately without a child widget.This function attaches a target widget to scrollbar widget. All Scroll Events(EVT_WDG_SCROLL) are routed to this target widget if it is set and listens to EVT_MDL_SCROLL_CHANGE event and invalidates itself.
Params
pif
[]:
[in] Pointer to IWidget (scrollbar widget)
pTarget
[]:
[in] Pointer to IWidget (Target Widget)
Interface
Prototype
  •    int IWidget_SetTargetWidget(IWidget *pif, IWidget *pTarget);   
       
Return
  •    AEE_SUCCESS - The widget was able to successfully set target widget
       AEE_EFAILED - The widget was unable to set target widget
    
Side Effect
  • None.
Comments
None.