Does anybody know how to make LIST's show & hide under PalmOS 3.2 and earlier? I have an app that hides the list with FrmHideObject on a frmOpenEvent, then displays it with FrmShowObject when the user selects a popup trigger. Works great in PalmOS 3.5. If I change the PilRC file to not usable, the LIST won't show up at all in 3.2. If I leave it as usable in the PilRC file, it'll show up and never go away.
I'm using CW 9.1 and the ROM file from a Palm VII for the Emulator. I've searched everywhere I can think of, and can't find an answer.
Upgrade to V9.3 -- it won't help fix this Palm OS bug, but it will fix other problems.
This is really odd... the normal procedure is for a list to be unusable, and you let the OS show it as normal is its ctlSelectEvent handler for the popup trigger associated with it.
FrmHideObject clearly states in its documentation: "On versions of Palm OS prior to 3.5 this function doesn't affect lists or tables. On Palm OS 3.5 it operates correctly on lists but doesn't have any effect on tables. On Palm OS 4.0 it operates correctly on both lists and tables."
Look in the POL source code included with CodeWarrior, specifically the implementation of CForm::HideObject in file POLForm.cpp. You'll see code to manually hide/show these items on the old OS. You may find it useful to actually base your program on POL, as it has lots of OS fixes like this embedded in its code.
-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
