Developer

API Reference

IWidget_SetSizeToFit()

Brew Release
Brew MP 1.0.2
See Also
AEECLSID_RootContainer IWidget_GetSizeToFit
Description
This inline function sets the ability for the root container to resize its children or not when it does its layout.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • bEnabled
    []:
    [in] Whether the resizing is enabled or not.
Interface
Prototype
   int IWidget_SetSizeToFit(IWidget *pif, boolean bEnabled);
Return
   AEE_SUCCESS - Successfully enabled/disable the root container to resize its
                 children when it does its layout.
   AEE_EFAILED - Could not enable/disable the root container to resize its children
                 when it does its layout.
Side Effect
None
Comment
None
  • Follow