CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    May 2008
    Posts
    66

    Scrolling over usercontrol or form

    Hi all!

    In my app, both, the usercontrol and the form can be scrolled.

    I would like to add a function which the scrolling act is captured by the usercontrol if the mouse is over the usercontrol or by the form if the mouse is not over the usercontrol.

    Now, in my app, the scrolling action is captured by the form and by the usercontrol, but all the time even if the mouse is over the usercontrol, only the form gets this action (scrolling).

    How should I code in order to have this scrolling behavior in my app?

    Thank you in advance!
    Gustavo
    Last edited by gborges; February 26th, 2009 at 10:39 AM. Reason: Details

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

Featured