Subclassing ... MouseScroll ... Someone Please READ | Project Samples Avail!
Hey All ... (I'm going mad here .. ) ... I've been trying to get this to work for the last 4 hours but I don't know a whole lot about subclassing so here is my situation ..
I've made a usercontrol (I pass a form name to the control and it paints the form into a PictureBox, and scrollbars in the usercontrol allow the user to scroll about) ... but I want the user to be able to scroll the form with a wheel mouse, so earlier on I searched the forums and came up with two different peices of cone, one which is very basic other highly complex with all sorts of error detection / os detection ect ... in anycase the WM_MOUSESCROLL message isn't being fired as far as I can't tell. (I am debug.printing all the messages being sent to the specified function) ... I see it being called when I move the mouse from control area control area / mouse clicking ect ...
I've tried using this in a seperate project (just a scrollbar and the form) and it works just fine. So because I used SetParent() to paint the form into a picturebox cause a problem somehow ? ...
Any Ideas / Suggestions would be appriciated.