Re: multiple windows
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Sep 18, 2000
- 390 views
You're really not creating a new thread, just a nested loop. It would be the same as if you had a while loop within a while loop. Calling exit in the inner loop would only return you to the outer. Even though it seems like you've got 'separate' event loops for different windows, you don't. A message loop (often referred to as an event loop) in windows simply processes the messages sent to any of your app's windows. I've played around with this a bit, to emulate dialog windows--the real thing seems somewhat difficult to get anything useful out of. Matt Lewis -----Original Message----- From: Jason Mirwald I created a function that can be called that creates a TimerWindow that simply counts up about every half second. This window will function completely separately (or so it seems) from the original, it even has it's own message-loop in the function. Without the message-loop, the timer-window will disappear when I exit the first, but with the message-loop, it continues to function normally. I thought (there I go again) that Euphoria could not create additional threads or processes. Does anyone know what this is analogous to? Jason