PDA

View Full Version : Yes/No Dialog?



jwarrent
03-06-2004, 12:30 AM
There's probably an easy way to do this and I'm just not seeing it. What's the easiest way to present a Yes/No pop-up dialog?

Corey
03-06-2004, 01:01 AM
Hi. :) That would be the Dialog.Message action set to YESNO like:

result = Dialog.Message("Notice", "Your message here.", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1);

You can cut'n'paste that to try it if you like... Hope that helps.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

jwarrent
03-06-2004, 01:24 AM
aye. right in front of me. Thanks Corey!