Henrik, FrmAlert/CustomAlert is actually (internally) a form displayed with FrmDoDialog. It has it's own internal message loop, and you can't access it. So probably it is best to write your own "modal" form that will display the alert, and inside its message loop check for whatever you like.
"Henrik Fredriksson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Yes, I am aware of that. I should have been more specific with my question > :). Let's rephrase.. How do I check that event queue? > > "Prashant Jha" <[EMAIL PROTECTED]> skrev i meddelandet > news:[EMAIL PROTECTED] > > > > Henrik, > > Looks like this is a problem that a lot of people are > > having and it happens because the Alert boxes that > > popup using FrmAlert has its own event handling queue > > and you will have to work on this queue. > > Prashant > > --- Henrik Fredriksson <[EMAIL PROTECTED]> wrote: > > > Hi > > > > > > If I for example want to close an alert created with > > > either FrmAlert or > > > FrmCustomAlert by pressing the scroll down key, how > > > to handle that? I know > > > that I could create a dialog that looks like an > > > alert and open it with > > > dodialog or something similar, and then take care of > > > the keypress in this > > > dialogs message handler. But I want to use FrmAlert. > > > > > > Thanks > > > Henrik > > > > > > > > > > > > -- > > > For information on using the Palm Developer Forums, > > > or to unsubscribe, please see > > http://www.palmos.com/dev/support/forums/ > > > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.yahoo.com > > > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
