QUOTE(ikkeugh @ Jun 22 2007, 04:13 AM)

I've got a question :
How do u make those buttons that countdown :
if you don't press a button in (ex) 5 seconds , that that button will be chosen?
(like the one of windows if you don't have a legal version 8-) )
You didn't mention about what programming language you're using. And i never since a windows that mention you don't have a legal version. I do see auto close windows for AVG auto update.
Generally, for windows, you can just start a timer with 1 second interval, along when you popup the windows, then update the the button showing a countdown on the button's text, on every tick of the timer. Keep static counter or a class wise variable for that purpose. When the counter tick to 0, close the window
Comment/Reply (w/o sign-up)