Developer

API Reference

IWidget_GetElementDragThreshold()

Brew Release
Brew MP 1.0.2
See Also
- IWidget
- DragRect
- IWidget_SetElementDragThreshold()
Description
Retrieves the drag threshold values stored in the widget for the passed element type. The drag threshold values are stored in the structure DragRect and they represent the delta values that can be used to increase the current drag region.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget object
  • nElemType
    []:
    [in] Element type
  • pDragRect
    []:
    [out] Pointer to a DragRect into which the widget would copy the drag threshold data currently stored in the widget for the given element
Interface
Prototype
   int IWidget_GetElementDragThreshold(IWidget *pif, int nElemType, DragRect *pDragRect);
   
Return
   
   AEE_SUCCESS - If the widget is able to successfully return a pointer to the DragRect
   AEE_EFAILED - If the drag threshold values could not be accessed and returned


Side Effect
None
Comment
None
  • Follow