Refresh a window

Just starting out? Need help? Post your questions and find answers here.
Froggerprogger
Enthusiast
Enthusiast
Posts: 423
Joined: Fri Apr 25, 2003 5:22 pm
Contact:

Post by Froggerprogger »

Damn! You won. :wink:

In my code without UpdateWindow_() the tons of events, which come with overlaying the Debugger-Window, are handled with 1 ms delay EACH, before the final refresh comes.

In your WindowEvent()-code the whole queue of Events - if there is one - is handled immediately.

I promise, I will do it this way in all my future-codes.
Thank you for washing my head!

Now I'll be quiet.
%1>>1+1*1/1-1!1|1&1<<$1=1
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Froggerprogger wrote:Damn! You won. :wink:

You can send the six-pack beer to me :wink:
In my code without UpdateWindow_() the tons of events, which come with overlaying the Debugger-Window, are handled with 1 ms delay EACH, before the final refresh comes.

In your WindowEvent()-code the whole queue of Events - if there is one - is handled immediately.

I promise, I will do it this way in all my future-codes.
Thank you for washing my head!

Now I'll be quiet.
No, don't be quiet...the forum is the place where everybody can learn from everybody :)
I learn here also a lot, read new things almost every day.
The PB guru's learn here also.....and yesterday, I learned Fred that GadgetEventID() does not exist in PureBasic :mrgreen:
Froggerprogger
Enthusiast
Enthusiast
Posts: 423
Joined: Fri Apr 25, 2003 5:22 pm
Contact:

Post by Froggerprogger »

pssst. :mrgreen:
%1>>1+1*1/1-1!1|1&1<<$1=1
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Berikco wrote: The PB guru's learn here also.....and yesterday, I learned Fred that GadgetEventID() does not exist in PureBasic :mrgreen:
That's what happens when I try to explain how a basic event loop work to a newbie 8)
Post Reply