Wow well this can also work as a zoom type of utility also. very cool.
I think I'm going to scrap what I have and use your patch as it is sooo much cleaner and just by the way its structured alone give me a few other ideas.
This is great yesterday I got stuck trying to "make things better" drawing the start queue and end queue positions "the green rectangle" to where now only the very first sample point gets selected. Then in return when i click the play button the player stops instantly because the end position has been reached. All because I thought I should change the scale value to 1 when I don't think i had to, Now the play positions seams to start at 1 and go to 1.9 instead of 0 to 0.9 I don't know what I did. lol
You patch will solve my current problem in pretty sure. Thank you soo much once again!