Retrieves 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.
- pnIndex:[out] On successful termination, stores the currently focused item in the widget.
int IWidget_GetFocusIndex(IWidget *pif, int *pnIndex)
AEE_SUCCESS - Successfully retrieved the index of the focused object AEE_EFAILED - Failed to retrieve the index of the focused object
On successful completion *pnIndex stores the index of the focused item.