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

Developer

API Reference

IFORM_SETTITLE()

Brew Release
Brew MP 1.0.2
See Also
IForm Widget Events
Description
This function will set the title text of a form, storing the title as a pointer to an AECHAR in the form's FID_TITLE property.
Params
p
[]:
[in] Pointer to the IForm interface object.
t
[]:
[in] Pointer to the text to appear as the form's title.
Interface
Prototype
  •    int IForm_SetTitle(IForm *p, AECHAR *t)
    
Return
  •    AEE_SUCCESS - If the form is able to set the title text
       AEE_EFAILED - If the title text could not be set.
    
Side Effect
  • Calling IForm_SetTitle() will send an EVT_WDG_SETPROPERTY event to the form, requesting that the FID_TITLE property be set.
Comments
Applications are encouraged to use IForm_SetTitle() as a shorthand method of setting the title text.