Developer

API Reference

IWidget_GetExtent()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_GetPreferredExtent IWidget_SetPreferredExtent IWidget_SetExtent WidgetExtent
Description
Returns the horizontal and vertical extent of the widget. The extent is better thought of as the relative size of an object's bounding rectangle, independent of where that widget may be placed on the display. The extent is returned in a WidgetExtent data structure defining the width and height of the widget.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget object.
  • pWExtent
    []:
    [out] Pointer to the WidgetExtent struct that, on output, will contain the current extent of the widget.
Interface
Prototype
   void IWidget_GetExtent(IWidget *pif, WidgetExtent *pWExtent);
   
Return
None
Side Effect
None
Comment
None
  • Follow