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

Developer

API Reference

IWIDGET_GETSCROLLFILLRECT()

Brew Release
Brew MP 1.0.2
See Also
- IWidget_GetVScrollFillRect - IWidget_GetHScrollFillRect
Description
This function retrieve the rectangle of the scrollbar fill area, which is the area inside the scrollbar border area that contains the handle where where PROP_SCROLLSTYLE is either SCROLL_VERT or SCROLL_HORZ.
Params
pif
[]:
[in] Pointer to IWidget object (scrollbar widget)
prc
[]:
[out] Pointer to an AEERect data structure.
Interface
Prototype
  •    int IWidget_GetScrollFillRect(IWidget *pif, AEERect *prc)
       
Return
  •    AEE_SUCCESS - The widget was able to successfully retrieve the scrollbar fill rectangle.
       AEE_EFAILED - The widget was unable to retrieve the scrollbar fill rectangle.
    
Side Effect
  • None.
Comments
IWidget_GetScrollFillRect will fail when called on a scrollbar widget with the layout style set to SCROLL_BOTH.