API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IWIDGET_GETDEFAULTTEXTALIGNMENT()

Brew Release
Brew MP 1.0.2
See Also
IDISPLAY Flags IWidget_SetDefaultTextAlignment AEECLSID_StaticWidget
Description

Retrieves the default (horizontal) text alignment for the static widget. This value will be used if no alignment is set using the IWidget_SetFlags call.
Params
pif
[]:
[in] Pointer to the IWidget object.
pnDefaultTextAlignment
[]:
[out] Value currently used as the default text alignment.
Interface
Prototype
  •    int IWidget_GetDefaultTextAlignment(IWidget* pif, uint32* pnDefaultTextAlignment)
    
Return
  •    AEE_SUCCESS - If the static widget is able to successfully set the Default Text Alignment.
       AEE_EFAILED - Failed to set the Default Text Alignment.
    
Side Effect

  • None
Comments
The Default Text Alignment can be one of the values in the set of IDisplay horizontal alignment constants: - IDF_ALIGN_NONE - IDF_ALIGN_LEFT - IDF_ALIGN_CENTER - IDF_ALIGN_RIGHT