I should have mentioned I am doing the following and just want to know if
this is kosher.  I don't see why not, except that it goes beneath the
visible API to work with an event structure.

static void SomeFunctionOfMine (void)
{
   FormPtr    pFrm; 
   EventType  event;

  ...
  pFrm = FrmInitForm(rscMyFormID);
  FrmSetActiveForm(pFrm);
  MemSet (&event, sizeof(EventType), 0);
  event.eType = frmOpenEvent;
  event.data.frmOpen.formID = rscMyFormID;
  FrmSetEventHandler(pFrm, MyFormHandleEvent);
  FrmDispatchEvent (&event);
  ...

}


> -----Original Message-----
> From: Fawcett, Mitch [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 15, 1999 11:55 AM
> To:   'PalmDevForum'
> Subject:      Popping forms
> 
> How do I make the frmOpenEvent event generated by a FrmPopupForm do it's
> thing and cause the form to be drawn without having to return to the main
> EventLoop( )? Or is this some kind of big no-no.  Thanks.
> 
> Mitch

Reply via email to