IonicWind Software

IWBasic => GUI Central => Topic started by: billhsln on December 14, 2006, 10:19:24 PM

Title: How can I keep seeing what is going on in Windows program.
Post by: billhsln on December 14, 2006, 10:19:24 PM
I wrote a program that executes under the Windows.  The program itself works fine.  My question is, when the program looses focus, it seems to continue running but nothing shows on the screen as to what is happening.  I have the program displaying info and then clearing the screen and displaying more info.  Basically the program  clears the screen after printing a full page of info.  But after losing focus, it no longer displays anything until the program prints its last page.

Is there some way to get it back to displaying info?

Thanks,
Bill
Title: Re: How can I keep seeing what is going on in Windows program.
Post by: LarryMc on December 15, 2006, 01:07:33 AM
I THINK you might need to use a "wait 1" in your printing loop so other messages will get processed.

I've had to do that in some of my programs that had time consuming routines running.

Anyway, that's what I would try first.
Title: Re: How can I keep seeing what is going on in Windows program.
Post by: AndrewB on December 16, 2006, 08:32:32 PM
Yes, it sounds like something that used to happen in my EB app when filling a List View with loads of data - Wait(1) fixed it

Title: Re: How can I keep seeing what is going on in Windows program.
Post by: billhsln on December 23, 2006, 09:22:59 PM
Wait 1 fixed my problem.

Thanks for your help,
Bill