
Next: wxMediaEdit::OnChangeStyle
Up: wxMediaEdit: wxMediaBuffer
Previous: wxMediaEdit::LoadFile
void MovePosition (long code, Bool extend = FALSE, int kind = wxMOVE_SIMPLE)
Move the current selection. The possible values for code
are:
- WXK_HOME -- go to start of file
- WXK_END -- go to end of file
- WXK_RIGHT -- move right
- WXK_LEFT -- move left
- WXK_UP -- move up
- WXK_DOWN -- move down
If extend is TRUE, the selection range is extended instead of moved.
The possible values for kind are:
- wxMOVE_SIMPLE -- move one item or line
- wxMOVE_WORD -- works with WXK_RIGHT or WXK_LEFT
- wxMOVE_PAGE -- works with WXK_UP and WXK_DOWN
- wxMOVE_LINE -- works with WXK_RIGHT or WXK_LEFT; moves to the start or end of the line
PLT