Hello,
I work with POL and CW9. I have a modal form that must close and launch a function of the MainForm (her parent). I think that I can do this by sending an event in the message queue. I create my on event and use EvtAddEvtToQueue() to post it. but The function of the MainForm is not launched... (i tried to cath it in the ModalForm and it works).
How must I specifiy that the message is destinate to the MainForm ( with the FormID?) It looks like the event is instantaneoulsy treated, can I delay it ?
In Palm OS, only the active form gets events that are posted to the event queue. You can send an event to your parent form, but only if you dismiss your modal form (using the CForm::
ReturnToParentForm) before returning from the method that sends the event.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
