Never mind The beep goes away if I set handled to true before returning from the form event handler
KP "Kristian Penno" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I currently have this code to show a form, the form does some stuff (stuff > currently commented out), and revert back to the calling form > > This code is executed in the calling form's event handler when it receives a > menuEvent. > After this code is executed and the form handler returns back to within > FrmDispatchEvent > > I here a beep sound. > > This beep occurs before FrmDispatchEvent return to my app event loop. > > If I execute this code from a button press, no beep. > > Anybody know why it should cause a beep, and only from a menu event? > > > FormPtr prevForm = FrmGetActiveForm(); > FormPtr frmP = FrmInitForm(formID); > FrmSetActiveForm(frmP); > FrmSetEventHandler(frmP, handler); > FrmDrawForm(frmP); > > /*will do something here when I get rid of this beep*/ > > FrmEraseForm(frmP); > FrmDeleteForm(frmP); > FrmSetActiveForm(prevForm); > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
