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

Developer

API Reference

ITEXTCTL_SETMAXSIZE()

Brew Release
Brew MP 1.0.2
See Also
Description
Sets the maximum text size supported by the text control object. If the size being set is more than the size already set, this leads to the freeing up of the memory associated with the previous size and allocation of the memory per the new size.
Params
pITextCtl
[]:
pointer to the ITextCtl interface object.
nMaxSize
[]:
maximum text size in AECHAR characters excluding NULL; if 0 (zero) then no effect.
Interface
  • ITEXTCTL
Prototype
  •     void ITEXTCTL_SetMaxSize (ITextCtl * pITextCtl, uint16 nMaxSize);
    
Return
  • None
Side Effect
  • None.
Comments
The implementation of this function may vary between devices. Some devices may allow text to be entered beyond the maximum size set by this function.