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

    mouse pointer and browser

    Hi

    I;m curious to know how a browser application will change the mouse pointer from arrow to a hand when the mouse pointer is above a link for example. Do you have any idea about how can I know at every moment what type of mouse pointer do I have to deal with? I was thinking at using a mouse hook. What do you think?

    so, I need to know:
    1) how the browsers tells to the OS what mouse pointer type to use?
    2) how can i know at every moment what mouse pointer is?

    many thanks

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    Re: mouse pointer and browser

    Handle the WM_SETCURSOR and WM_MOUSEMOVE messages.

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