Re: OT: One-color Lava Lamp
I just had it to where if the program was sent a WM_MOUSEMOVE event, it posted the quit message.
The program uses SetTimer() in order to keep it at a steady pace. SetTimer() calls TimerProc() every 25 milliseconds to change the global color values.
This isn't that advanced, it just clears the screen in a slowly shifting color.
On another note, I never knew that all these people on these fourms programmed in C++...
|