AniEdit: Creating Animated Cursors

Click to open or copy the files for the AniEdit sample.

The AniEdit tool can be used to create and edit animated cursors. The program relies on the ImagEdit SDK tool for the actual bitmap manipulation. AniEdit is a good source of information on the format of animated cursors.

Building SDK Samples

This sample uses the following keywords:

addfontresource; allocmem; aniaddfontmodule; anienddialog; beginpaint; bitblt; btnbarwndproc; calcchecksum; checkdirty; checkradiobutton; clearstepsel; closehandle; convertdatatoicon; copymemory; copyrect; copystep; countof; createcompatiblebitmap; createcompatibledc; createdialogparam; createfile; createframefromcursorfile; createiconfromresource; createprocess; createsolidbrush; createthread; defined; defwindowproc; deletedc; deletefile; deleteobject; destroyclpbrddat; destroyframe; destroyicon; destroystep; destroywindow; dialogbox; dispatchmessage; docommand; dprint; drawcursorlistitem; drawfocusrect; drawicon; drawtext; editframe; enablewindow; enddialog; endpaint; enumthreadwindows; error; etwproc; execprogram; exitcommand; exitthread; fallthru; fflush; fillrect; findresource; fmtfree; fmtmessagebox; fmtsprintf; formatmessage; freemem; getclientrect; getcommandline; getcurrentsel; getdc; getdesktopwindow; getdlgitem; getdlgitemint; getdlgitemtext; getdlgitemtexta; getfilesize; getheightfrompoints; getlasterror; getmessage; getmodulefilename; getopenfilename; getparent; getsavefilename; getselstepcount; getstep; getstepcount; getsyscolor; getsystemmetrics; gettempcursorfilename; gettempfilename; gettemppath; gettextmetrics; getwindowlong; getwindowrect; getwindowtext; getwindowtextlength; globalalloc; globalfree; inflaterect; initapplication; initinstance; invalidaterect; isdbcsleadbyte; isdialogmessage; isdlgbuttonchecked; isiconic; isvalidps; iswindow; ji; killtimer; linkstepframe; loadaccelerators; loadanifile; loadicon; loadresource; loadresourcestr; loadstring; localalloc; localfree; lockresource; lookupiconidfromdirectory; lstrcat; lstrcpy; lstrlen; mainwndproc; makeintresource; makelparam; makewparam; memcmp; messagebeep; messagebox; min; mmiofourcc; movefile; muldiv; newanicursor; newclpbrddat; newstep; nextframe; offsetrect; optionsproc; pack; padup; parsecmdline; pausepreview; postmessage; postquitmessage; previewcursor; previewwndproc; procwaitthread; promptandopenfile; promptforfile; qsort; readanifile; readchunk; readchunkn; readfile; readiconfromfile; readregistry; readtag; regclosekey; regcreatekeyex; registerclass; regopenkeyex; regqueryvalueex; regsetvalueex; releasedc; removefontresource; resumepreview; resumethread; ret_close_if_err; revcompints; saveanifile; savefile; screentoclient; selectobject; senddlgitemmessage; sendmessage; setbkmode; setcurrentsel; setdlgitemint; setdlgitemtext; setdlgitemtexta; setfilepointer; setfocus; setforegroundwindow; setpreviewstep; setstepsel; settextcolor; settimer; setwindowfiletitle; setwindowlong; setwindowtext; sizeofresource; skipchunk; switch; text; translateaccelerator; translatemessage; unreferenced_parameter; updatestepsel; va_end; va_start; waitforinputidle; waitforsingleobject; winhelp; winmain; writefile; writeme; writeregistry; writetag; writetagdata; writetype; wsprintf; zeromemory