View Single Post
  #10  
Old March 29th, 2005, 12:21 AM
Instar's Avatar

Instar Instar is offline
Major
 
Join Date: Aug 2000
Posts: 1,246
Thanks: 0
Thanked 0 Times in 0 Posts
Instar is on a distinguished road
Default Re: OT: One-color Lava Lamp

Quote:
NullAshton said:
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++...
C++ is an easy language to get started with, so I'm sure people here know a bit. Most people here probably don't do programming as a job, I'd bet.
I'm a Java programmer at the moment, but my favorite language is by far C#. I also do C/C++, COBOL, FORTRAN, Perl, SQL, JCL, and things like HTML, Javascript, databases, web programming, XML, etc..
Yay programming.
__________________
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
Reply With Quote