previous up next     contents index
Next: wxMediaEdit::FindPosition Up: wxMediaEdit: wxMediaBuffer Previous: wxMediaEdit::Erase

wxMediaEdit::FindLine

long FindLine (float y, Bool *onit = NULL)

Given a graphical location in the buffer, returns the line at that location. If onit is non-NULL, it will be set to TRUE if the line actually touches this position, or FALSE otherwise. (For example, a large enough y will always return the last line number, but will set onit to FALSE.)

Only valid when the buffer is viewed.



PLT