CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Location
    India
    Posts
    11

    Handling MouseWheel Message

    In the client area of Window I want the Mouse Cursor displacement by user defined value instead of defualt mouse move.

    If done by SetCursorPos function in the WM_MOUSEMOVE handler, it repeatedly displaces the Cursor until it goes out of the client area of the Window.

    If OnMouseWheel function is mapped and if Mouse is moved the function doesn't get executed.

    Please Send Reply,

    From
    varma_sai


  2. #2
    Join Date
    Jul 1999
    Location
    Moscow, Russia
    Posts
    667

    Re: Handling MouseWheel Message

    Are you using NT 4.0 ?
    OnMouseWheel handles messages for Windows NT 4.0. For Windows 95 or Windows NT 3.51 message handling, use OnRegisteredMouseWheel.

    Oleg.



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