Try setting the save behind bit and see what happens. I had the same
problem when I didn't set the bit.
Jacky
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
ThuNguyet Nguyen
Sent: Wednesday, June 06, 2001 9:28 AM
To: Palm Developer Forum
Subject: Re: why my form shows up as transparent form?Please help.
Thanks for your mails.
Hi jacky,
> Did you set the save behind attribute to true?
No, I do not set the save behind in contructor of Form B. I think this is
set for saving the
content of form A, I do call FrmDrawForm(FormAID) in frmUpdateEvent. Form A
works OK. Form B shows
part of the bitmap of form A ???
Hi Dave,
> Are you drawing anything to the screen before you call FrmInitForm for B?
> If so, don't.
No, I draw the border and set the text in my label after FrmDrawForm().
What else could I do wrong?
This is my Original Message, in case somebody can help me.
> Hello everyone,
>
> In my program, I use form A to display a 160x160 4 bit gray scale bitmap.
> At first, I use an alert form to warn user about something and the program
works OK.
> Now, I use a custom form (form B) that warns user about something and this
form will disappear
if
> user taps OK button (the same as alert form) or after displaying in
10seconds. Form B is 160x80,
> not a modal form. I use FrmPopupForm(FormBID) and
FrmReturnToForm(FormAID)...
>
> When I run my program on POSE, it works just fine. When I run it on m100,
form B looks like
> transparent. Part of the bitmap on form A is showed inside form B. Why
does that happen?
>
> For now, I do a quick fix by erase the area of the screen before calling
FrmPopupForm() and it
> seems to me that it is too slow, I can see the rectangle is erased before
Form B shows up. Is
> there other way to fix this problem?
>
> Thanks for any help or suggestion.
>
> tnn
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/