Hmm. I still think FrmDoDialog will work for you. You can set your own event
handler by calling FrmSetEventHandler before calling FrmDoDialog. Then, do
your custom stuff within your event handler.


Neil
on 5/5/01 12:16 PM, Francisca Sepulveda at [EMAIL PROTECTED] wrote:

> 
> I want to create a couple of dialogs like SelectTime or CategorySelect,
> with my own custom fields, so needing their own event handling functions.
> However, I need the output from them in the same way as SelectTime gets
> output from the dialog. How should I go about doing this? do those
> functions implement their own event loops or something? and if that's the
> way to do it, does anyone have code samples, or at least a couple warnings
> on what I should watch out for in writing code with two or more event loops?
> 
> So, in summary, I want something like:
> 
> SelectCustomThing(WordPtr * inOutValue1, Boolean * inOutVal2, CharPtr title)
> 
> which pops up my custom dialog, handles the events within that, and then
> returns. So a function wrapping FrmDoDialog does not suit my needs.


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

Reply via email to