What if you declaired an empty form resource that has dimensions 160 x 224 and then dynamically created your form objects and drawing?
-Donald <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > I have a problem which I have been unable to solve. I have an application, that has a form, that enabled the DIA open/close trigger and resizes automatically. When the DIA is closed, all is OK, but if the DIA is open, the next part does not work. > > On top of that bottom form, i need to show an interactive modal form, BUT it needs to keep DIA where it is (open if it was open, closed if it was closed). But I can never get the top form to keep the DIA open. > The new modal form is created dynamically (FrmNewForm), as are all the controls on it. > > The code is somewhat like this: > > formP=FrmCreateForm(...) > CtlCreateControl(&formP,....) > FldCreateForm(&formP,...) > FrmSetDIAPolicyAttr(formP,frmDIAPolicyCustom) > FrmSetActiveForm(formP) // * > FrmDrawForm(formP) > WinDrawBitmap(...) //draw on the form > FrmDoDialog(formP) //** > FrmDeleteForm(formP) > > > The DIA comes up on line marked as " * " > If the line is removed, i comes up on line marked " ** " > I have tried calling PINSetInputTriggerState() and PINSetInputAreaState() at various places, all with no results. The DIA always comes up on FrmSetActiveForm() call weather it is me who calls it, or FrmDiDialog(). > > Am I forgetting something ridiculously stupid? > > > --- > Best Regards, > Dmitry Grinberg > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
