? re: Win32lib an onClick (+fan mail)
- Posted by "Williamson, SR" <SR.Williamson at OSHA-NO.OSHA.GOV> Feb 15, 2000
- 540 views
Hello, New to Euphoria, and I have to say I'm very impressed. Not only is it easy to learn and fast, it is also small (very). And did I mention easy to learn? Also, thanks to David Cuny for his outstanding Win32lib, even if it did cost me the hours of midnight to 4 am last Saturday. Here's the ?...... I'm trying to write a program that puts lots of bitmaps in a W32 window. To do this, I call a procedure when a button is clicked. Just for fun, I decided to let it put 10k 16X16 BMPs in the window. That only takes a couple of minutes, but I decided that I might like to stop it by clicking a second button while it's calculating the 10k random positions and posting them to the window. Unfortunately, that doesn't work. The button sends the onLeftClick (or whatever) message to Windows, but it doesn't respond (it doesn't "click"), and I have no idea what kind of code to use to interrupt this 10k iteration WHILE loop. Can anyone help? (In the interest of space I won't post the code unless it's needed. I know that seems dumb after the unabashed gushing above, but I did want to say thanks. Too often thought, but too little performed.) Sherm