Use FrmDrawForm() to draw the form once the modal dialog you have has been
released.
Or You can call FrmUpdateForm with an update code then handle the event in
your handler drawing everything that the modal dialog covered.

Geoff

----- Original Message ----- 
From: "gaurav agarwal" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, September 30, 2004 2:30 AM
Subject: correct FrmDoDialog usage


> I am trying to create a modal dialog and display it using FrmDoDialog.
> The only problem is that the form has no buttons to be pressed.
>
> I display the form when I receive a notification and do a FrmDeleteForm
> when I receive another notification. In the midst I save the FormPtr.
>
> On doing a delete the screen space where the modal dialog was drawn goes
blank and shows remnants of form. Using FrmEraseForm etc. does not help.
>
> Can someone be kind enough to point out the correct way to invoke a modal
dialog without any buttons or maybe what formtype one must use
> for the purpose above.
>
> TIA
> Gaurav...
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>

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

Reply via email to