Developer

API Reference

IWidget_SetFocusIndex()

Brew Release
Brew MP 1.0.2
Description

Sets the index of the currently focused object in a widget. What that object is varies depending on the widget receiving this property. For example: in a list widget, it is the currently focused item in the list and for a Date/Time widget it is the time field that is currently selected by the user.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • index
    []:
    [in] specifies the index to which the focus index should be set.
Interface
Prototype
int IWidget_SetFocusIndex(IWidget *pif, int index);
Return
   AEE_SUCCESS - Successfully set the index of the focused object
   AEE_EFAILED - Failed to set the index of the focused object
Side Effect

The focused object for the widget changes.
Comment

None
  • Follow