CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2000
    Posts
    1,471

    How to make a particular window respond to a mouse scroll message?

    Suppose I have two windows, Form1 and Form2. I want Form1 to respond to mouse scroll message so I call Form1.SetFocus first. But the mouse srcoll message is still responded by Form2. It looks like Form2 always catches the mouse scroll messgae. How can I make Form1 to receive the mouse scroll message? Thanks for your inputs.

  2. #2
    Join Date
    Mar 2005
    Posts
    226

    Re: How to make a particular window respond to a mouse scroll message?

    Not exactly sure, but I would try to write a global mouse hook similar to keyboard.

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