Developer

API Reference

IWidget_GetItemRect()

Brew Release
Brew MP 1.0.2
Description
This inline function retrieves the bounding rectangle of the list item at a given index.
Parameters
  • pif
    []:
    [in] Pointer to the list, pick or grid widget.
  • nIndex
    []:
    [in] Index of list item to retrieve rectangle for.
  • prc
    []:
    [out] Pointer to an AEERect structure to be filled on return.

    Return
Interface
Prototype
   int IWidget_GetItemRect(IWidget *pif, int nIndex, AEERect *prc);
   
Side Effect
None
Comment
This inline function and property will only succeed for list items that are visible, including partially visible items. Visible means that they are scrolled to viewable position in the list, not necessarily actually displayed on screen.
  • Follow