G
Guest
Hello
I want to change the Hand system cursor, with the hand with shadow
I used this code in Delphi some years ago:
<delphi>
IDC_HAND = MakeIntResource(32649);
Screen.Cursors[crHandPoint] := LoadCursor(0, IDC_HAND);
</delphi>
But in C# it doesn't work, the cursor doesn't change
<c#>
int IDC_HAND = 32649;
IntPtr hc = LoadCursor( IntPtr.Zero, IDC_HAND);
SetSystemCursor( hc, (uint)Cursors.Hand.Handle) )
</c#>
Is there any way to change the system cursor with the other one?
Thanks
I want to change the Hand system cursor, with the hand with shadow
I used this code in Delphi some years ago:
<delphi>
IDC_HAND = MakeIntResource(32649);
Screen.Cursors[crHandPoint] := LoadCursor(0, IDC_HAND);
</delphi>
But in C# it doesn't work, the cursor doesn't change
<c#>
int IDC_HAND = 32649;
IntPtr hc = LoadCursor( IntPtr.Zero, IDC_HAND);
SetSystemCursor( hc, (uint)Cursors.Hand.Handle) )
</c#>
Is there any way to change the system cursor with the other one?
Thanks