You can't use WinDrawRectangleFrame() until you have set the draw window. Unless you set the draw window in some specific way, it is usually done by calling FrmDrawForm ( frmP). Thus you must just be sure to do any drawing to the form after calling FrmDrawForm ( frmP). Keith Wolcott Darren Lee Ang wrote: > here's a piece of code that is crashing the system (from a Codewarrior C++ > app skeleton) > It is similar to the call structure I have. > If I call the drawing code from withing the AppHandleEvent, it will NOT > work. > Only if I call it from FrmDrawOpen will it work. > Why is that? > Can the system be changing the current drawing window without changing it > back to > the main form? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
