Developer

API Reference

IWidget_GetScrollPad()

Brew Release
Brew MP 1.0.2
See Also
- IWidget
- IWidget_SetScrollPad
Description
Scrollpad distance is the distance between the scrollbar/scroll indicator and the widget it wraps. This routine retrieves the scrollpad distance. When scrollbar is used in standalone mode, scrollpad is not applicable.
If the distance is set to negative values, the scrollbar will be overlayed on top of the child widget.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • pnPad
    []:
    [out] Pointer that would contain scrollpad distance.
Interface
Prototype
   int IWidget_GetScrollPad(IWidget *pif, int *pnPad);
Return
   AEE_SUCCESS - If the widget is able to retrieve the scrollpad distance.
   AEE_EFAILED - If the widget failed to retrieve the scrollpad distance.
Side Effect
None
Comment
None
  • Follow