Home - RAD C++ GUI 2.0 Documentation
Published on March 17, 2008 [12:28:42 AM]



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