Developer

API Reference

IWidget_GetCursorMovement()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_SetLineGap AEECLSID_TextWidget ITextLayout_GetCaretAfterMove
Description
This function, given a character index and movement type, gets the resulting character index.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface.
  • nCharacterIndex
    []:
    [in] Character index of cursor prior to movement.
  • dwMovement
    []:
    [in] Movement type.
  • pnCharacterIndex
    []:
    [out] Character index of cursor after movement.
Interface
Prototype
   int IWidget_GetCursorMovement(IWidget *pif, int nCharacterIndex, uint32 dwMovement, int *pnCharacterIndex);
Return
   AEE_SUCCESS - If the widget is able to get the property.
   AEE_EFAILED - If the widget is unable to get the property.
Side Effect
None
Comment
None
  • Follow