|
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
|