Thank you it worked just fine.
I had to put a bool in both the main window and the picturebox, because the picturebox wouldn't lose focus when the mouse leaves.
thanks again.
User Profile
Collapse
-
I use Zoom already. It's not that I want to scroll the image. I use the mousewheel to go to the next/prev image in that folder.
I have a folder with (let's say) 100 subfolders containing pictures. for each subfolder there is a picturebox (400x400 Pixels) showing the first picture in the subfolder. When I move the mouse onto the picture and use the wheel I want it to show the next or the previous picture.
It does that, but it...Leave a comment:
-
control scroll without window scroll
Hi,
I programmed a windows forms application. it contains several pictureBoxes, each showing the first picture in a folder. When the mouse is over the pictureBox and you turn your mousewheel, it shows the next/prev picture.
This works fine. The picturebox is getting focus when the mouse enters and the picture changes with the wheel.
But the window is scrolling, too.
How can i prevent the window...
No activity results to display
Show More
Leave a comment: