Subscribe to our RSS Feeds
Hello, this is a sample text to show how you can display a short information about you and or your blog. You can use this space to display text or image introduction or to display 468 x 60 ads and to maximize your earnings.

Create custom cursor from image

0 Comments »
Bitmap b = (Bitmap)Bitmap.FromFile("G:\\Documents and Settings\\vishal\\My Documents\\Visual Studio 2008\\Projects\\WindowsFormsApplication1\\WindowsFormsApplication1\\Resources\\i4.gif");
IntPtr ptr = b.GetHicon();
Cursor c = new Cursor(ptr);
// attach cursor to the form
this.Cursor = c;
10:08 PM

0 Responses to "Create custom cursor from image"

Post a Comment