Réponse acceptée !
Hi;
Tu peux essayer comme ceci:
Bitmap b = new Bitmap(x, y);
Graphics g = Graphics.FromImage ( b );// do whatever you wish
g.DrawString ( "myText", this.Font, Brushes.Blue, 0, 0 );IntPtr ptr = b.GetHicon();
Cursor c = new Cursor( ptr );
this.Cursor = c;
-My
Blog-