Re: FindFile.EXW

new topic     » goto parent     » topic index » view thread      » older message » newer message

I found it: doEvents (0)

----- Original Message -----
From: <tone.skoda at siol.net>
To: "EUforum" <EUforum at topica.com>
Subject: FindFile.EXW


>
> In Win32lib example FindFile.EXW you can press Stop button in the middle
of
> loop and it will stop.
>
> How would I do that in my program without walk_dir()? So that window
buttons
> respond to clicks
> even when a loop is running?
> I am thinking that window of that demo responds only because it does a lot
> of work on disk and processor has enough free power so window can respond
to
> user clicks.
> I checked with task manager, CPU is used less than 50% when search is
> running.
>
> Maybe I could add event loop into my loop, GetMessage ()... ?
>
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu