Results 1 to 3 of 3

Thread: [RESOLVED] Windows Hand Cursor / Icon

  1. #1

    Thread Starter
    Banned shmengy's Avatar
    Join Date
    Sep 2006
    Posts
    6

    Resolved [RESOLVED] Windows Hand Cursor / Icon

    I had been searching for the famous hand cursor / icon that shows up in windows whenever there is a hyperlink etc... I found several other icons on the internet but not the windows hand cursor / icon. In the end I finally found it. I have attached it to this post for others to use.
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: [RESOLVED] Windows Hand Cursor / Icon

    Here is the way without the actual image:
    VB Code:
    1. Option Explicit
    2.  
    3. Private Const IDC_HAND = 32649&
    4. Private Const IDC_ARROW = 32512&
    5.  
    6. Private Declare Function LoadCursor Lib "user32" _
    7.         Alias "LoadCursorA" _
    8.         (ByVal hInstance As Long, _
    9.         ByVal lpCursorName As Long) As Long
    10.  
    11. Private Declare Function SetCursor Lib "user32" _
    12.         (ByVal hCursor As Long) As Long
    13.  
    14. Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    15.     SetCursor LoadCursor(0, IDC_HAND)
    16. End Sub

  3. #3
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: [RESOLVED] Windows Hand Cursor / Icon

    This is the hand.ico that comes with VB6.
    Attached Files Attached Files
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

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