Developer

API Reference

IWidget_SetPassWidgetElemInfo()

Brew Release
Brew MP 1.0.2
See Also
IWidget_FindElement IWidget_GetPassWidgetElemInfo IWidget
Description
Sets whether the widget handles the PROPEX_WIDGETELEMINFO property or passes it onto its child. This call sets the widgetÂ’s PROPEX_PASS_WIDGETELEMINFO property.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • bPassWI
    []:
    [in] Boolean whose value will be assigned to the widget's PROPEX_PASS_WIDGETELEMINFO property.
Interface
Prototype
   int IWidget_SetPassWidgetElemInfo(IWidget *pif, boolean bPassWI);
Return
   AEE_SUCCESS - Successfully set the PROPEX_PASS_WIDGETELEMINFO property.
   AEE_EFAILED - Failed to set the PROPEX_PASS_WIDGETELEMINFO property.
Side Effect
None
Comment
It is recommended that widgets handle the PROPEX_WIDGETELEMINFO property themselves and not pass the property onto their children.
  • Follow