Developer

API Reference

IWidget_HasFocus()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IWidget IWidget_SetFocus IWidget_CanTakeFocus Widget Events
Description
This helper function determines if the widget has focus. It passes the EVT_WDG_HASFOCUS event to the widget's handle event function.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • pbFocus
    []:
    [out] Pointer to a boolean in memory which will be set to TRUE if the widget has focus or FALSE if the widget does not have focus.
Interface
Prototype
   int IWidget_HasFocus(IWidget* pif, boolean *pbFocus);
Return
AEE_SUCCESS : The widget was able to handle the event, and pbFocus was set. AEE_EFAILED : The widget was unable to handle the event, and pbFocus was not set.
Side Effect
None.
Comment
None.
  • Follow