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

Developer

API Reference

IWIDGET_SETSCROLLENDPAD()

Brew Release
Brew MP 1.0.2
See Also
- IWidget_SetProperty() - IWidget_GetScrollEndPad()
Description
This routine sets the ScrollEndPad, which is the amount of padding added to both ends of the scrollbars when they are displayed. When arrows are displayed (see flag SBWF_ARROWS), the actual pad value will be the greater of: the value set by IWidget_SetScrollEndPad(), and the length of the scrollbar arrows. In other words, the pad will be such that the scrollbar rectangles will never overlap the scrollbar arrow glyphs.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
nPad
[]:
[in] ScrollEndPad value, as integer.
Interface
Prototype
  •    int IWidget_SetScrollEndPad(IWidget *pif, int nPad);
    
Return
  •    AEE_SUCCESS - If the widget is able to set scrollendpad value.
       AEE_EFAILED - If the widget failed to set scrollendpad value.
    
Side Effect
  • None.
Comments
None