1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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