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?

Reply via email to