>On PalsOS4 to close dialog I use this code with success
>
>  if(frmP->attr.doingDialog) { //FrmDoDialog is active
>   frmP->attr.exitDialog = 1; //for to exit from loop
>  }

If your situation allows it, you should use CtlHitControl() to hit the appropriate 
button in your dialog. I like this approach (when it can be used) since it just 
simulates a user action, and no other dialog code needs to be changed at all.

Dave Johnson

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

Reply via email to