
Next: wxMediaEdit::FindWordbreak
Up: wxMediaEdit: wxMediaBuffer
Previous: wxMediaEdit::FindStringAll
wxSnip* FindSnip (long pos, int direction, long *sPos = NULL)
Returns the snip for the given position. If the position is between
two snips, direction specifies which snip to return; direction
can be any of the following:
- wxSNIP_BEFORE_OR_NULL -- Returns the snip before the position, or NULL if pos is 0
- wxSNIP_BEFORE -- Returns the snip before the position, or the first
snip if pos is 0
- wxSNIP_AFTER -- Returns the snip after the position, or the last
snip if pos is the last position
- wxSNIP_AFTER_OR_NULL - Returns the snip after the position, or NULL if pos is the last position
If sPos is non-NULL, then it will be filled with the position
at which the returned snip starts.
PLT