--- Matt Disher <[EMAIL PROTECTED]> wrote:
> In order to get through anything with debug roms I have 
> to move my FrmDrawForm in front of these tasks, which 
> normally I wouldn't do.
> 
> my frmP comes from FrmGetActiveForm, so I thought this 
> was legit ?

You can't reliably write to the screen until the draw window has been
set up and that happens in FrmDrawForm().  Before FrmDrawForm(), you
can call functions to set things up as long as they don't try to draw
stuff on your window.  So, for example, you can set the form title with
FrmSetTitle() because the docs say "If the form is visible, draw the
new title."  But you can't call WinDrawRectangle() because its
description it "Draw[s] a rectangle in the draw window using the
current foreground color" and the draw window won't be set up yet.


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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

Reply via email to