TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Paul Ranson
from: Geo
date: 2004-12-05 18:33:18
subject: Re: c++ help

From: "Geo" 

"Paul Ranson"  wrote in message
news:41b3934e$1{at}w3.nls.net...
> You ought to set the hour glass on the way in to your button handler, and
> unset on the way out. Your loop takes a while and it's possible to press
> multiple times and not get a new result.

Is that why you don't get a new result? I thought that was because the time
function randomizer needed a new seed so you need a new second before that
happens. I say this because the number displays immediately, but clicking a
second time it simply doesn't change because the same number is generated
again (because of the same seed value).

Geo.

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.