#832 – Creating a Cursor File

If you want to use a custom cursor in your application, you can create a .cur (static) or .ani (animated) cursor file using a cursor creation application.  You can then embed the resulting cursor file in your application and load it at run-time.

One good example of a cursor creation application is the RealWorld Cursor Editor, available as freeware.

The RealWorld Editor allows creating a cursor from scratch or creating a cursor based on an image.  Below, we convert an image of Cyrano de Bergerac into a cursor that we can then use as the mouse pointer.

We load the image into the application.


We flip the image horizontally, rotate it so that the nose points up and to the left, and then erase everything but the face.


Finally, we use the Create mouse cursor command.


The hotspot is set to the tip of the nose.









About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

One Response to #832 – Creating a Cursor File

  1. Pingback: Dew Drop – May 31, 2013 (#1,558) | Alvin Ashcraft's Morning Dew

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: