>I need to scroll and image in a form. I set the form´s scrollbars to 2 - Vertical, place an image container taller than the form´s height. I ran it and the scroll worked fine, but if I use the mouse wheel, nothing happens. It only works if I place the mouse pointer over the scrollbar. Is there a way to make it scrolls regardless the mouse position? I even write a code in the mousewheel method, but nothng happened.
>Any help would be welcomed.
If I recall correctly, you need to look at SetViewPort method of the form.
BTW, may be you need to use scrollable container instead? I believe Carlos Alloatti has a nice one. I used the class by Alexander Grigorjev in the past.
If it's not broken, fix it until it is.
My Blog