"Randy Brown" <[EMAIL PROTECTED]> wrote in message
news:41201@palm-dev-forum...
>
>
> What do I need to do to get a WinDrawChars call to draw on a FrmDoDialog
> from? WinDrawChars displays on the form that FrmDoDialog returns to,
> rather than on it's form.
There isn't a good way to do this. FrmDoDialog runs its own event loop, and
it never sends frmInitEvent or frmCloseEvent to your dialog's event handler.
Therefore, you're limited to the display produced by the FrmDrawForm call
inside FrmDoDialog.
Aaron Ardiri's apps have a replacement function to FrmDoDialog he's
mentioned here before. Using a modified version of that, you could have
something that acted like a dialog with its own event loop, but more control
for your program.
> <vent mode on>
>
> And.... where is this stuff actually documented!? (Seriously, I have two
> PalmOS programming books, all of the PalmOS documentation printed out,
> looked in the FAQ..... but can't find simple things like this. It
> surprises me that after 5 years this isn't better documented.)
>
> </vent mode off>
This group, and the others like it, are the living documentation of Palm
programming. A lot of it is just grokking how PalmOS works. Once you
understand how much more than drawing FrmDrawDialog and FrmEraseDialog do,
you'll sleep better at night.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/