I can't use frmdodialog, because i call this MyDialog from more than one form, and i have to return back ti this form(frmreturntoform(0)).
Now the problem is, how to get the ctl pointer to previous form selector trigger, because i don't know which one was preveous? FrmReturnToForm(0); ControlType *ctl=(ControlType*)GetObjectPtr(PreveousformSelTrigger); CtlSetLabel(ctl,gSelector); CtlDrawControl(ctl); -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
