says...
> >>Damn, indeed, it doesn't run in my Win2K. Just gives 6 little dots
> >>after inputting XYZ. I'll try it under Win95 later.
> > Sorry, it's because I don't handle drawing properly (through WM_Paint
> >messages), rather, it uses WM_Timer. That doesn't seem to work in Win2K.
> Weird, WM_TIMER works in Win2K though. Perhaps you're not handling
> BeginPaint()/EndPaint() things right. Well, I don't know much Windows
> programming actually, so I can't really tell.
> Perhaps you should call Invalidate() on the window instead of painting
> from within WM_TIMER. (and process the WM_PAINT message, this is not
> really a message at all I believe, more a state which is sent when no
> messages are available (idle processing)).
> Anyway, this is not the place for these discussions. :)
> I still have to check in Win95, unfortunately, upto Sunday I seem to
> be stuck with work (outside the office).
The WM_TIMER message is the lowest priority message. It gets process
after EVERYTHING else. If you want something to work on a timer, you
should set up a timer thread. I have a threaded timer class if you need
it.
--
=========================================================
Redneck Techno-Biker (Zerex12)
http://www.paddedwall.org/john
Barbarian Diecast Collector (420+ cars and counting)
http://www.paddedwall.org/diecast
DeMONS Scheduler for N3 and NL
http://www.paddedwall.org/demons
IGPS/3 Home Page
http://www.paddedwall.org/igps3
If you want to send me email, go to the first URL shown
above & click "Send Me Mail" in the contents frame.
=========================================================