I'd like to set the fore- & background colors of my forms.  Seems simple
enough, but the lines

    FrmSetActiveForm( dialog );
    WinSetBackColor (myFormColor);
    FrmDrawForm (myForm);

are giving me an error on the last line:

   MyApp (1.0) just read from memory location 0x800000020. This access
   usually indicates that the application is calling a Window Manager
   function without first establishing a valid DrawWindow.

Am I taking the wrong approach?  What's the simplest way to change form and
object colors?

Thanks!
Rich


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to