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

Developer

API Reference

IWIDGET_GETHSCROLLFILLRECT()

Brew Release
Brew MP 1.0.2
See Also
- IWidget_GetScrollFillRect() - IWidget_GetVScrollFillRect()
Description
This function retrieves the rectangle of the horizontal scrollbar fill area, which is the area inside the scrollbar border area that contains the handle where PROP_SCROLLSTYLE is set to SCROLL_BOTH.
Params
pif
[]:
[in] Pointer to IWidget object (scrollbar widget)
prc
[]:
[out] Pointer to an AEERect data structure to be filled on return.
Interface
Prototype
  •    int IWidget_GetHScrollFillRect(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_GetHScrollFillRect will fail when called on a scrollbar widget with the layout style not equal to SCROLL_BOTH.