How about:
if(FrmAlert(AreYouSure) == AreYouSureYes)
...;
else
...;
AreYouSure is a defined alert resource. In the alert resource, make the
[Ok] button a [Yes] button and add a [No] button.
-jd
At 03:20 PM 5/24/99 -0700, you wrote:
>How do others implement a single "Are you sure?" dialog that will work for
>multiple functions?
- Are You Sure? Dialogs: How? Michael S. Davis
- Re: Are You Sure? Dialogs: How? Alan Pinstein
- RE: Are You Sure? Dialogs: How? Elia J. Freedman
- Re: Are You Sure? Dialogs: How? Jeff Davey
- Re: Are You Sure? Dialogs: How? Michael S. Davis
- Re: Are You Sure? Dialogs: How? Michael S. Davis
- Re: Are You Sure? Dialogs: How? Alan Pinstein
- Re: Are You Sure? Dialogs: How? Bob Ebert
- Re: Are You Sure? Dialogs: How? Michael S. Davis
- Re: Are You Sure? Dialogs: How? Bob Ebert
