Results 1 to 12 of 12

Thread: Subclassing ... MouseScroll ... Someone Please READ | Project Samples Avail!

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Location
    Canada
    Posts
    51

    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.
    Last edited by Tcalp; Feb 4th, 2003 at 09:43 AM.
    ~T

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width