title: Create a semi-transparent cursor from an image
body: <p>Is it possible to create a cursor from an image and have it be semi-transparent? </p>
  
  <p>I'm currently taking a custom image and overylaying the mouse cursor image. It would be great if I could make this semi-transparent, but not necessary. The sales guys love shiny.</p>
  
  <p>Currently doing something like this:</p>
  
  <pre><code>Image cursorImage = customImage.GetThumbnailImage(300, 100, null, IntPtr.Zero);
  cursorImage.SetResolution(96.0F, 96.0F);
  int midPointX = cursorImage.Width / 2;
  int midPointY = cursorImage.Height / 2;
  Bitmap cursorMouse = GetCursorImage(cursorOverlay);
  Graphics cursorGfx = Graphics.FromImage(cursorImageCopy);
  cursorGfx.DrawImageUnscaled(cursorMouse, midPointX, midPointY);
  
  Cursor tmp = new Cursor(cursorImage.GetHicon());
  </code></pre>
  
  <p><a href="http://members.cox.net/dustinbrooks/drag.jpg" rel="nofollow noreferrer">alt text http://members.cox.net/dustinbrooks/drag.jpg</a></p>