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.
- pif:[in] Pointer to the IWidget interface object.
- index:[in] specifies the index to which the focus index should be set.
int IWidget_SetFocusIndex(IWidget *pif, int index);
AEE_SUCCESS - Successfully set the index of the focused object AEE_EFAILED - Failed to set the index of the focused object
The focused object for the widget changes.