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

Developer

API Reference

CURSORMOVEMENTTYPE

Brew Release
Brew MP 1.0.2
See Also
IWidget_GetCursorMovement
Description
This structure is used by the IWidget_GetCursorMovement function and the underlying widget property to get a get a resulting character index given a start index and a movement type.
Members
  • flags      : For future expansion, currently must be zero
  • nIndex     : The character index to use as the basis of the movement.
  • dwMovement : The type of movement.
  • nMoveIndex : The resulting character index after the move.
    
Definition
  • typedef struct {
       uint32   flags;
       int      nIndex;
       uint32   dwMovement;
       int      nMoveIndex;
    } CursorMovementType;
    
Comments
It is recommended you interact with this structure through the IWidget_GetCursorMovement function because it will automatically pack up the data for you and report any error conditions.