Developer

API Reference

IWidget_GetTopIndex()

Brew Release
Brew MP 1.0.2
See Also
IWidget_SetTopIndex IWidget_GetFocusIndex IWidget_SetFocusIndex AEECLSID_ListWidget
Description

Retrieves the index of the object that is currently at the top of the visible portion of a list widget.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • pnIndex
    []:
    [out] On successful termination, stores the top currently visible item in the widget
Interface
Prototype
int IWidget_GetTopIndex(IWidget *pif, int *pnIndex)
Return
   AEE_SUCCESS - Successfully retrieved the index of the top object
   AEE_EFAILED - Failed to retrieve the index of the top object
Side Effect

On successful completion *pnIndex stores the index of the top item.
Comment

None
  • Follow