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



Why not try attaching a small bit of source code?
----- Original Message -----
From: chris
Sent: Friday, April 07, 2000 1:41 AM
Subject: WIN32 API question II

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