Home - RAD C++ GUI Lib 1.2.2 Documentation
Published on March 09, 2007 [03:04:02 PM]



Browse class : _window

Function : RCP_MSGBOX yesNoCancel(String message[,String title])


Description

displays a messages box with three buttons 'Yes', 'No', and cancel on it, when user responds to it by clicking one of them, it returns one of the following values

RCP_YES : if yes clicked
RCP_NO : if no clicked
RCP_CANCEL : if cancel clicked


Return

one of the following (according to input)
RCP_YES
RCP_NO
RCP_CANCEL


Remarks

e.g.

if(form1.yesNoCancel("save unsaved file?") == RCP_NO)
   Application.close();





Visit www.radcpp.com for more help and updates. Documentation created using FlaX.Doc