/ Published in: C#
Changing Mouse Pointer
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System.Runtime.InteropServices; [DllImport("user32.dll", EntryPoint = "LoadCursorFromFileW", CharSet = CharSet.Unicode)] public static extern IntPtr LoadCursorFromFile(String str); IntPtr hCursor = LoadCursorFromFile(filename);