
Next: wxMediaEdit::SetPositionBiasScroll
Up: wxMediaEdit: wxMediaBuffer
Previous: wxMediaEdit::SetFileFormat
void SetPosition (long start, long end = -1, Bool ateol = FALSE, Bool scroll = TRUE,
int seltype = wxDEFAULT_SELECT)
Sets the current selection int the buffer. See End of Line Ambiguity (section
) for
a discussion of ateol. If scroll is TRUE, then the
view is scrolled to show the selection if necessary.
The seltype argument is only used when the X Windows selection
mechanism is enabled. The possible values are:
- wxDEFAULT_SELECT -- If this window
has the keyboard focus and given selection is non-empty, make it
the current X selection.
- wxX_SELECT -- If the given selection is
non-empty, make it the current X selection.
- wxLOCAL_SELECT -- Do not change the
current X selection.
PLT