How to capture the System Cursor

Discussion in 'C#' started by Hadah, Apr 28, 2008.

  1. Hadah

    Hadah New Member

    Joined:
    Apr 28, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,

    I'm developing an app that needs capture the system cursor.

    When the mouse pointer leaves the app's forms it is still captured and set by me; I something like:

    if(Cursor.Current == Cursors.hand)
    {
    .........
    }
    else if(Cursor.Current == Cursors.arrow)
    {
    .........
    }

    But It only works with the app's Cursor

    Thanks in advance!! :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice