Any reason why you can just use FrmAlarmFrom()??

Steve

Brandon Wallace wrote:

> That's what I am doing.
> I am displaying a small form and I need to erase a section of the old
> form before displaying mine.  I do this by:
>
> FrmInitForm()
> FrmGetBounds() (I think that is the name...to get the size of my new form)
> WinEraseRectangle() (to clear this area)
> FrmSetActiveForm() (set my new form to be active)
> FrmSetEventHandler()
> FrmDrawForm()
>
> ----- Original Message -----
> From: D. DeVecchio <[EMAIL PROTECTED]>
> To: Palm Developer Forum <[EMAIL PROTECTED]>
> Sent: Tuesday, April 25, 2000 7:32 PM
> Subject: Re: Bug in OS 3.5? Would someone else please try this?
>
> > Bob Ebert,
> >
> > On Tue, 25 Apr 2000 18:27:12 +0200, you said:
> >
> > >
> > > The whole thing looks like a bug to me.  What effect are you trying to
> make?
> > >
> > > You're erasing before anything has been drawn.  That will almost always
> > > cause some weird bug.
> >
> > I am trying to erase the screen before drawing my new form.
> >
> > I have an alarm call.  You have to erase the screen or the form that was
> > on the screen before you called "FrmInitForm" and "FrmDrawForm" is still
> > there.  If you just call WinDrawForm by itself it just draws the form on
> > top of the form that is already there and you have a mess.
> >
> > It would be nice if you could set the form to automatically clear a
> > blank space the size of the form when the form initializes, but I guess
> > I can understand why that isn't the standard.
> >
> > Still, there should be SOME way to erase the form window before drawing
> > the form because
> > FrmDrawForm
> > FrmEraseFrom
> > FrmDrawFrom
> > seems kind of redundant.
> >
> >
> > What do other people do to clear the window?
> >
> >
> >
> >
> > derik
> >
> >                      email:  [EMAIL PROTECTED]
> >
> >                      WWW:    http://www.pobox.com/~derik
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palm.com/devzone/mailinglists.html
> >
> >
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palm.com/devzone/mailinglists.html


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to