FindFile.EXW

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

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     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu