How to load Cursors from Resources

  • Thread starter Thread starter JPK
  • Start date Start date
J

JPK

I can add an Image to my Resources and then load/use the image in code like
so .. MyApp.Properties.Resources.MyImage. But this doers not seem to work
for Cursors. When I try to add a CUrsor file to my resources it places it
in the Files portion and cannot be loadedx into a Cursor at run tim like
string and images can. Is there some trick to make this happen or must I
use the old

this.curCopy = new
Cursor(assem.GetManifestResourceStream("MyApp.Images.Cursors.copy.cur"));
thanks,

JIM
 
Back
Top