On Aug 12, 7:36*pm, Steve Behman
<SteveBeh...@di scussions.micro soft.comwrote:
I am using Visual C++ 8.0 Express Edition.
On certain events I would like to pop up the standard "Yes/No" dialog -- is
this possible and, if so, how is this done?
It is possible, but the exact method depends on whether you're writing
a native or a managed application. For a native application, you'd use
MessageBox() WinAPI function with flag MB_YESNO. For a managed Windows
Forms application, you'd use System::Windows ::Forms::Messag eBox class,
and specifically, its Show() method with MessageBoxButto ns.YesNo
argument. WPF has a MessageBox class as well, which probably has very
similar API - can't recall the specifics at the moment.