P
Paul Cheetham
Hi,
I have several Colour custom cursors embedded in my application resource.
In order to load and use them I use the following function:
public static Cursor LoadCursor (string CursorName)
{
Cursor myCursor;
Stream cursorStream;
Assembly thisAssembly;
String Name;
thisAssembly = Assembly.GetEntryAssembly();
Name = "ProLogic.Cursors." + CursorName + ".CUR";
cursorStream = thisAssembly.GetManifestResourceStream(Name);
myCursor = new Cursor(cursorStream);
cursorStream.Close();
return (myCursor);
}
This loads the cursor, but only in Mono.
Does anyone know how I can get the cursor to display in colour as it was
designed?
Thankyou.
Paul.
I have several Colour custom cursors embedded in my application resource.
In order to load and use them I use the following function:
public static Cursor LoadCursor (string CursorName)
{
Cursor myCursor;
Stream cursorStream;
Assembly thisAssembly;
String Name;
thisAssembly = Assembly.GetEntryAssembly();
Name = "ProLogic.Cursors." + CursorName + ".CUR";
cursorStream = thisAssembly.GetManifestResourceStream(Name);
myCursor = new Cursor(cursorStream);
cursorStream.Close();
return (myCursor);
}
This loads the cursor, but only in Mono.
Does anyone know how I can get the cursor to display in colour as it was
designed?
Thankyou.
Paul.