want to use custom cursor in my windows from
i have some gif image which i converted to .cursor file and trying o use in my winfrom like that
Cursor c ;
public Form1()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
c = new Cursor("cursors\\newcursor.cur");
panel1.Cursor = c;
}
but i getting error that cursor file is not ok. image stream is damaged.
i use many converter but got same error.
can none help me out? plz
kdcorp87
Junior Poster in Training
54 posts since Jan 2010
Reputation Points: 14
Solved Threads: 9
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241