bdugan@teri.bio.uci.edu (Bill Dugan) (04/21/91)
I'm tearing my hair out over this one. I'm writing a Think C application that uses the stdio functions. In my event loop, it returns a mouseDown correctly, and I can drag windows, choose menu items, etc. But when I hit a key, it just beeps at me. GetNextEvent doesn't even take the "case keyDown"; it just keeps cycling over and over waiting for an event. I'm calling GetNextEvent(everyEvent,&myEvent) the same way I do in every other program I've ever written, but this code is a couple of years old and converted from a Think C 3.0 project. The code did work under 3.0. (I've since deleted that project and started a new one just in case it was a corrupted project file, but no dash, same problem. I have the same bug, incidentally, under both System 6.0.7 and 7.0b4.) Is there some kind of call I might inadvertently have made that will mask out the keyDown event? Or perhaps GNE thinks that the stdio window is a DA window and attempts to take care of the event itself instead of returning it to me? Puzzled, bill (thanks in advance!)