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.
Parameters
  • 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
Comment
None
  • Follow