Developer

API Reference

IWidget_SetScrollPad()

Brew Release
Brew MP 1.0.2
See Also
- IWidget
- IWidget_GetScrollPad
Description
This routine sets the distance between the scrollbar/scroll indicator and the widget it wraps. When scrollbar is used in standalone mode, scrollpad is not applicable. Scrollpad distance has to be set to zero for standalone mode.
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.
  • nPad
    []:
    [in] scrollpad distance
Interface
Prototype
   int IWidget_SetScrollPad(IWidget *pif, int nPad);
Return
   AEE_SUCCESS - If the widget is able to set scrollpad distance.
   AEE_EFAILED - If the widget failed to set scrollpad distance.
Side Effect
None
Comment
None
  • Follow