Using Custom Colored Cursors in a C# Windows Application [closed]

The Cursor class is rather poorly done. For some mysterious reason it uses a legacy COM interface (IPicture), that interface doesn’t support colored and animated cursors. It is fixable with some fairly ugly elbow grease: using System; using System.ComponentModel; using System.Windows.Forms; using System.Runtime.InteropServices; using System.Reflection; static class NativeMethods { public static Cursor LoadCustomCursor(string path) { … Read more