Re: FindFile.EXW
- Posted by tone.skoda at siol.net May 31, 2002
- 480 views
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 ()... ? > > > >