At 12:06 PM 3/30/2004, you wrote:
The form seems to be more than moved: I call CtlNewControl right after calling FrmInitForm for a modal dialog and pass it &form. After that, several buttons see their text changed. I suspected a conflicting ID with internal object I didn't know about, so I chose 10000, way above any resource in my application, to no avail.

Nope. You've hit one of the bugs with dynamic controls in Palm OS; the code that fixes internal pointers in the form sometimes identifies text as a pointer and causes corruption. This bug wasn't completely fixed until Palm OS 4.1, IIRC. This happening is a good argument against using dynamic forms unless you really, really need them.



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

Reply via email to