Bump! Because I am having the exact same problem. Also, it works fine in the 5.2 Simulator in Debug version, but when I run 5.3 or 5.4, I get this 'bad window' error on the FrmSetForeColor() call.
Any ideas? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
