In article <81267@palm-dev-forum>, [EMAIL PROTECTED] says... > > I have a hack that needs a second preference dialog. > I know that I can use 2001 for the second dialog and > have HackMaster/X-Master/TealMaster handle setting up > the event handlers but I need a little more control. > > How can I bring up a second dialog without having to > "close" the first dialog? I want to be able to handle > events in this second dialog and when I exit it, it > does not do a frmOpenEvent in the first dialog (maybe > a refresh event). This will make is so much easier > for me for sharing data between the two dialogs.
Mike, why not popup the second dialog using FrmDoDialog? You can instantiate the form, set its form event handler, and predraw it, then call FrmDoDialog, then read values out of the form before deleting it. All standard Palm OS stuff. The only tough thing might be finding the dialog resource; I assume the hack DB is open when the original dialog is opened, so hopefully FrmInitForm will work. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
