Developer

API Reference

IWidget_GetHScrollbarRect()

Brew Release
Brew MP 1.0.2
See Also
- IWidget_GetScrollbarRect()
Description
This function retrieve the bounding rectangle of the horizontal scrollbar including the arrows, border and padding where PROP_SCROLLSTYLE is set to SCROLL_BOTH.
Parameters
  • pif
    []:
    [in] Pointer to IWidget object (scrollbar widget)
  • prc
    []:
    [out] Pointer to an AEERect data structure.
Interface
Prototype
   int IWidget_GetHScrollbarRect(IWidget *pif, AEERect *prc)   
Return
   AEE_SUCCESS - The widget was able to successfully retrieve the scrollbar rectangle.
   AEE_EFAILED - The widget was unable to retrieve the scrollbar rectangle.
Side Effect
None.
Comment
IWidget_GetHScrollbarRect will fail when called on a scrollbar widget with the layout style not equal to SCROLL_BOTH.
  • Follow