Right, I get you.. And your way is neater.
However, I think mine does achieve the same thing:
DrawCursorNow just appears to force the next HandleAnimate() event to
1) set this->
dwLastCursorDraw to the time NOW,
2) set this->
bDrawCursor to 1
3) RequestPaint()
Mine "
manually"
does the job that HandleAnimate does, whist ensuring HandleAnimate() when triggered doesn't do anything (mine too resets the counter by setting this->
dwLastCursorDraw to the time NOW).. Which I agree is a bit of duplication of code, but I think the effect is the same... no ?
By the way, in your method, wouldn't your RequestPaint() be superfluous, as when handleanimate is called, it does the RequestPaint() itself ?
Again, just trying to understand what's going on :-)
Cheers!
____________________________
#f3i2g#

Disclaimer: I'm Welsh, left-handed, and stupid.

#f3i2g#