Peter, I tried what you suggested by doing this:
csEvent.eType = ctlSelectEvent; csEvent.data.ctlEnter.controlID = OKButton; // ??? EvtAddEventToQueue(&csEvent); and get this error message. X-Master (1.4.1) just read from memory location 0xDA1E0017, causing a bus error. A "bus error" means that the application accessed a memory location that is not in RAM or ROM, nor corresponds to a memory-mapped hardware register. Could it be that I don't have the pControl defined? Thanks, Mike McCollister --- Peter Epstein <[EMAIL PROTECTED]> wrote: > I didn't read you sample code, but here is one idea > to consider: Add a > second button to your form that is not usable. When > you want to close the > dialog after a key is pressed, generate a > ctlSelectEvent for this button. > -- > Peter Epstein > > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards� http://movies.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
