Time selection function
I can move cursor along the arrange view with:
1. MoveEditCursor(amt, 1)
2. SetEditCurPos(BR_GetPrevGridDivision(GetCursorPosi tion()), 1, 0)
SetEditCurPos(BR_GetNextGridDivision(GetCursorPosi tion()), 1, 0)
3. ApplyNudge(0, 2, 6, 2, amt, true, 0)
Tried all three methods and found the last one most suitable.
Now, I need to move cursor by grid lines, creating time selection.
What would be the best way to do that?
|