Is it possible to sync the rendering of OS gui controls/fields
with the rendering from the window functions.

My program does this:

1, Erase form (FrmEraseForm)
2, Update a lot of fields with text (FldDrawField)
3, Draw a box around the fields (WinDrawRectangle)

It is very visible that the rendering af fields occur before the
rendering of the box, which makes the screen update ugly.

Is it possible to get around this, and make the update stable?


Thank you very much in advance!
Thomas Hagen




-----Original Message-----
From: David Fedor [mailto:[EMAIL PROTECTED]]
Sent: 24. april 2001 20:55
To: Palm Developer Forum
Subject: Re: Access to PalmOS structures


>"If this function performs any drawing in response to the
formGadgetDrawCmd,
>it should set the gadget's visible attribute flag. (gadgetP->attr.visible =
>true)."
>
>According to the 4.0 headers, the above isn't legal.  The only problem is I
>can't find a way to do it legally either...


You're right.  The gadget callback pointer shouldn't have been implemented
that way.  We're taking this opportunity to fix some of these problems,
while still keeping in mind what people need to be able to do.

My personal hope is that we'll refine Pose's errors so that it will
complain at all the right places, and only at the right places.  We're not
there yet, so let us know spots where you think it is incorrect so we have
a solid and consistent situation.

-David Fedor
Palm Developer Support

-- 
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/

Reply via email to