Argh -- let me try again:

You should *not* be using FrmSetEventHandler or FrmGotoForm for this
situation.  [Sorry, I typo'd and left out the "not" the first time]

Read the docs on FrmPopupForm.  If you call FrmPopupForm, then you must call
FrmReturnToForm to return to the previous form.



"Chris Antos" <[EMAIL PROTECTED]> wrote in message
news:113474@palm-dev-forum...
>
> You should be using FrmSetEventHandler or FrmGotoForm for this situation.
>
> Read the docs on FrmPopupForm.  If you call FrmPopupForm, then you must
call
> FrmReturnToForm to return to the previous form.
>
>
>
> "Dan" <[EMAIL PROTECTED]> wrote in message news:113469@palm-dev-forum...
> >
> > Hi again everyone.  I got this problem working by trapping the
> > frmUpdateEvent message that is sent from FrmPopupForm().  Now, the image
> is
> > displaying correctly because I have a place to call the rendering code;
> > however, the event handler is not being set back to form A apparently
> (even
> > though I am getting that single "update" message).
> >
> > If I call FrmSetEventHandler() right in the update message, it doesn't
> seem
> > to take affect.  Like I may have mentioned earlier, I cannot use
> > FrmGotoForm() because I would need to explicity say "go to form A".
> Because
> > form B is called from other forms, this is not possible.
> >
> > As always, any suggestions are appreciated.
> >
> > Regards,
> >
> > Daniel Suleski :->
> > TD, Mysticware Inc.
> > www.mysticware.com
> >
> > "Dan" <[EMAIL PROTECTED]> wrote in message
news:112967@palm-dev-forum...
> > >
> > > Hi everyone.  I have two forms (A and B).  Form A is the "base" form,
or
> > the
> > > form that the user is currently looking at.  On this form, there are
> some
> > > control buttons and a bitmap being custom-drawn with a simple
> > > WinDrawBitmap() call...
> > >
> > > Now, I hit a menu item to bring up form B over most of form A with a
> call
> > to
> > > FrmPopupForm().  I use this call because I want my own event handlers
> for
> > > form B.  Anyway, when I cancel out of form B with a call to
> > > FrmReturnToForm( 0 ), the bitmap does not draw itself initially.  I
want
> > to
> > > call my drawing routine when the user returns to form A...and I cannot
> > call
> > > my rendering routine from within form B.
> > >
> > > Any ideas are always appreciated.  Ideally, I am looking for some sort
> of
> > > event in form A's handler that I can catch, then redraw the bitmap.
> > >
> > > Regards,
> > >
> > > Daniel Suleski :->
> > > TD, Mysticware Inc.
> > > www.mysticware.com
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to