Developer

API Reference

IWidget_CanTakeFocus()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IWidget IWidget_HasFocus IWidget_SetFocus Widget Events
Description
This helper function will return whether or not the widget can take focus. It passes the event EVT_WDG_CANTAKEFOCUS 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 can take focus or FALSE if it cannot.
Interface
Prototype
   int IWidget_CanTakeFocus(IWidget* pif, boolean *pbFocus);
Return
AEE_SUCCESS : The event was handled by the widget, and pbFocus was set. AEE_EFAILED : The event was not handled by the widget, and pbFocus was not set.
Side Effect
None.
Comment
None.
  • Follow