It shouldn't matter what you have on the form, buttons or otherwise.
And FrmEraseForm just erases the allocated memory, and doesn't do
anything to the display. Do you have the 'savebehind' bit set for your
form so that it repaints the screen when you close it? Or, you can
handle it manually by saving a copy of overlapped screen by using
WinSaveBits, or by making an offscreen window and copying the rectangle
over. Bob.
gaurav agarwal wrote:
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/