Developer

API Reference

IWidget_CanTakeTouch()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IWidget Widget Events
Description
This function will return whether or not the widget can take a touch event with particular coordinates. It passes the event EVT_WDG_CANTAKETOUCH to the widget's handle event function.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object
  • x
    []:
    [in] Value of the x coordinate for the touch event
  • y
    []:
    [in] Value of the y coordinate for the touch event
  • pbCanTakeTouch
    []:
    [out] Pointer to a boolean in memory which will be set to TRUE if the widget can take the touch event or FALSE if it cannot.
Interface
Prototype
   int IWidget_CanTakeTouch(IWidget *pif, int x, int y, boolean *pbCanTakeTouch);
Return
AEE_SUCCESS : The event was handled by the widget, and pbCanTakeFocus was set. AEE_EFAILED : The event was not handled by the widget, and pbCanTakeFocus was not set.
Side Effect
None.
Comment
None.
  • Follow