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

Developer

API Reference

IWIDGET_GETCARETPOS()

Brew Release
Brew MP 1.0.2
Description
This function gets the x and y coordinates of the caret's position in widget.
Params
pif
[]:
[in] Pointer to the IWidget interface.
pnCaretXPos
[]:
[out] X coordinate of caret position.
pnCaretYPos
[]:
[out] Y coordinate of caret position.
Interface
Prototype
  •    int IWidget_GetCaretPos(IWidget *pif, int *pnCaretXPos, int *pnCaretYPos);
    
Return
  •    AEE_SUCCESS - If the widget is able to successfully retrieve the caret position.
       AEE_EFAILED - If the caret position failed to be retrieved.
    
Side Effect
  • None
Comments
None