Thread View: fa.think-c
1 messages
1 total messages
Started by Bill Dugan
Sun, 21 Apr 1991 09:24
GetNextEvent beeps at me instead of returning keyDown
Author: Bill Dugan
Date: Sun, 21 Apr 1991 09:24
Date: Sun, 21 Apr 1991 09:24
22 lines
1792 bytes
1792 bytes
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!)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads