I am looking for a control that allows users to zoom and scroll at the same time. It basically needs to be something like Sony Sound Forge has, see bottom of this screenshot:

It looks and behaves like a normal scroll bar, with the addition that you can drag the edges to the left and right making the chart zoom in/out. Even if the user would be offered alternative ways to zoom in and scroll (e.g. by dragging an area on the chart itself) I still think such a component is useful because it gives the user a direct visual feedback of the position in the data and the amount of zooming that has been applied.
Does such a component exist or do I need to create it myself? Any help is welcome.
I think that is very specific control and I don’t think that it exists. Also I think it will be faster to create it by yourself, than search for it or even wait when someone answer this question.
To draw custom buttons like in Sound Forge you may use WinAPI function
DrawThemeBackground.I make some short example:
Here are form source files and two test PNG images for resources:
scrollbar-with-zoom-example.zip
Check MSDN for additional info about this API and PINVOKE.NET site for function signatures.
EDIT
More better solution is to use
VisualStyleRendererclass. Sorry for first complicate example. I did not know about that class before. So myDrawCustomScrollButtonfunction should be replaced:EDIT 2
Considering your comments, I made new try to recreate this custom control. Main idea was to use standart ScrollBar and put zoom markers above it (two Panel controls). It looks easy at first sight. But to combine these components together was more difficult than I thought.
The main problem is that difficult to alter behavior of system ScrollBar control. I found out that it does not allow to handle some events in windows message queue that I wanted to override. For example MouseUp event and some other.
In the end, I think the only right way is to recreate own copy of ScrollBar control from scratch in which will not have these constraints. Because of that, initially I went the wrong way and unfortunately did not solve your task.
Anyway here my current results (full solution):
scrollbar-with-zoom-3.zip