http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WIN32 API question II



I don't know what your trying to accomplish but if it's simply an animated 
cursor it would be alot simpler to make a animated cursor (*.ani files) and 
just use it in your program. If this is all you want to accomplish and you 
don't have an animated cursor creator look here for demos and freeware.
http://winfiles.cnet.com/apps/98/cursors-edit.html

Jeff

----Original Message Follows----

Hi all,
     sorry for disturbing you with this stupid question again--how to change 
cursor's type in my program?
     My goal is to make a animated cursor(a cursor change its type every 1 
second).
     I'v tried my own method but failed.
     I add 5 cursor(imported from some *.cur files) into resources(using 
VC++ 6.0,a convenient enviroment),set a timer when coping with message 
WM_CREATE,accordingly,to deal with WM_TIMER,i load new cursor,and set it by 
using SetCursor.But something seemed go wrong,when i run my program,i only 
can catch sight of the first cursor apppear in my client area for 1 
second,and then it disappeared,no new cursor appeared?
     I guess to implement animated cursor,my idea is right but my method 
wrong,can somebody help me?Thanks in advance!!

chris tj

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html