Hi,

I am using FrmPopupForm() and FrmReturnToForm(), but I am getting a
weird warning in POSE with the debug rom. Here's the code:

    void
    PopupCommandForm(char ** items, UInt16 numItems)
    {
    
        lastFormID = FrmGetActiveFormID();
        if (commandFormPtr == NULL) {
            commandFormPtr = FrmInitForm(COMMAND_FORM_ID);
        }
    
        FrmPopupForm(COMMAND_FORM_ID);
    }


    static Boolean
    CommandFormHandleEvent(EventPtr eventP)
    {
        switch (eventP->eType) {
        case ctlSelectEvent:
            FrmReturnToForm(lastFormID);   /* <- here */
            return true;
        }
    }


On the call to FrmReturnToForm(), I get the following warning dialog:

        "Form.c, Line:801, Windows cannot be under forms because
         they can't be redrawn."

I am using the following hw/sw

  HW:                           PalmIIIx, 4MB RAM
  OS:                           PalmOS software v 3.5.0
  ROM build date:               d,12/11/99/,7:20
  (using the dot-8 command)


Q1: What's happening and how I can avoid the warning?

Q2: Where can we get info about this and other warnings of the 
    debug roms?

Thanks!

- Ioi

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