View Single Post
  #8  
Old March 26th, 2005, 11:40 AM
NullAshton's Avatar

NullAshton NullAshton is offline
Major General
 
Join Date: Nov 2004
Location: Floating in space.
Posts: 2,297
Thanks: 0
Thanked 0 Times in 0 Posts
NullAshton is on a distinguished road
Default 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++...
__________________
Hey! I found squirrels!

Vala - "The last time I was this bored, I took hostages!"
Reply With Quote