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

Thread: wheelmouse

  1. #1
    Join Date
    Sep 2010
    Posts
    2

    wheelmouse

    I don't know how to show a message if the user wheel the mouse up and close it if he wheels it down

    I do this only to get the same result

    case WM_WHEELMOUSE:
    MessageBox(this->hWnd,L"Message");
    break;

    Thank you

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,957

    Re: wheelmouse

    WM_MOUSEWHEEL
    GET_WHEEL_DELTA_WPARAM Macro
    See if delta negative or positive.
    Best regards,
    Igor

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center