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

Developer

API Reference

IWIDGET_GETITEMWIDTH()

Brew Release
Brew MP 1.0.2
See Also
IWidget_SetItemWidth IWidget_GetItemHeight IWidget_SetItemHeight AEECLSID_ListWidget
Description

Retrieves the width (in pixels) for an item in a list, grid, or pick widget. For a list widget, this will be the width of the list (minus any borders, etc.). For a pick or grid widget, this will be dictated by the number of items that are viewable in the list.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
pnItemWidth
[]:
[out] On successful termination, stores the default width of an item in the widget
Interface
Prototype
  • int IWidget_GetItemWidth(IWidget *pif, int *pnItemWidth)
    
Return
  •    AEE_SUCCESS - Successfully retrieved the width
       AEE_EFAILED - Failed to retrieve the width
    
Side Effect

  • On successful completion *pnIndex stores the default width of an item.
Comments
None