View Single Post
Old 07-26-2009, 06:26 AM   #70
boreg
Human being with feelings
 
Join Date: Jul 2009
Posts: 149
Default Plugin for drag-zooming?

Hi, Reaper gurus!
Since I can't get over the fact that Reaper does not implement drag zooming, and having some experience with Windows programming, I thought maybe I can implement it as a plugin. I thought about something like this:
- Subclass the main application window to get mouse notifications
- Detect when mouse is dragged (WM_MOUSEMOVE notification with left button down) and is over the timeline (is this info available from SDK?)
- translate vertical mouse movement to adjustZoom() calls (found this function in the SDK, seems right for the job).
Is this possible? Am I on the right track?

thanks!
boreg is offline   Reply With Quote