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

Developer

API Reference

IWIDGET_GETSTARTLINE()

Brew Release
Brew MP 1.0.2
See Also
- IWidget_GetNextLine() - IWidget_GetPreviousLine()
Description
Given a character index (or position) in the text of a text widget, this function retrieves the character index where the current line starts.
Params
pif
[in]:
Pointer to the IWidget object
nCharIndex
[in]:
Character index
pnStartLineCharIndex
[out]:
Will contain the character index where the current line starts
Interface
Prototype
  •    int IWidget_GetStartLine(IWidget* pif, int nCharIndex, int *pnStartLineCharIndex)
    
Return
  •    AEE_SUCCESS - Retrieved the character index where the current line starts
       AEE_EFAILED - Unable to retrieve the character index where the current line starts
    
Side Effect
  • None.
Comments
None