Results 1 to 2 of 2

Thread: Cursor style

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2003
    Posts
    33

    Cursor style

    I'm trying to determine when the system cursor is a hand icon. Why doesn't this work:

    If Cursor.Current = Cursors.Hand Then

    End If

    When the cursor is a hand icon, the handle is 65569, but the handle for Cursors.Hand is 4917027.

    This works though:

    If Cursor.Current = Cursors.Arrow Then

    End If

    How can I check if the cursor is a hand??

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Cursor style

    Works perfectly fine for me. Is the hand cursor being shown in your case from another program or is it within your own .NET program that the hand cursor is set?
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


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