Hmmm.. I don't think that this is the problem... In reading the
WinCreateWindow docs, it says that you typically don't call that function
directly... Instead, use FrmInitForm to create form windows. That is
apparently happening, because my AppHandleEvent does this for me. (As does
probably every demo AppHandleEvent).... Later on in the AppHandleEvent, it
assigned the EventHandler and once the event handle has been ran, part of it
is, upon frmOpenEvent, run my MainFormInit function..
That, plus I tried creating a window and making it the active window, and it
did the same thing.. heh..
BUT.. I did get the WinDrawLine to work..
I put my FrmDrawForm BEFORE my MainFormInit function.. Then it worked!
Thanks for the help.. You pushed me in the right direction!
Paul
----- Original Message -----
From: "revcom" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Sunday, April 23, 2000 6:58 PM
Subject: Re: Stupid Drawing question...
> Paul,
>
> Do you have a window to draw into?
>
> If you are using the debug ROM, it will Bus Error deliberately if no
window
> is active.
>
> HTH,
>
> Robert Crago
> Revelation Computing Pty Limited
> PO Box 459, ASPLEY
> Brisbane, Australia 4034
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html