While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?

Styling with Markdown is supported

Original Comment

Gravatar

Jim

# Reply

This is very nice but I would like to have it never show scrollbars, while maintaining the zoom/pan abilities via drag & scroll wheel. I was able to hide them but in doing so it broke the image display. What would be the correct way to accomplish that here?

Gravatar

Richard Moss

# Reply

Hello,

I took a quick look, but all the approaches I tried did have the effect of breaking it. I didn't spend a huge amount of time looking at it, but all the approaches I tried (using ShowScrollbar, removing the WS_HSCROLL and WS_VSCROLL styles etc serve to break it. I did some other tests and the SCROLLINFO data for the control does still seem to be correct, so it's mostly likely something to do with the way the ImageBox is processing the information - in other words it should be resolvable with time.

Regards; Richard Moss