home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / MSGBOX / MSGBOX.RC < prev    next >
Text File  |  1995-05-01  |  2KB  |  40 lines

  1. /*****************************************************************************
  2. * FILE NAME: msgbox.rc         (Message Box Sample Program)                  *
  3. *                                                                            *
  4. * COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1995. *
  5. *                                                                            *
  6. * DISCLAIMER OF WARRANTIES:                                                  *
  7. *   The following [enclosed] code is sample code created by IBM              *
  8. *   Corporation.  This sample code is not part of any standard IBM product   *
  9. *   and is provided to you solely for the purpose of assisting you in the    *
  10. *   development of your applications.  The code is provided "AS IS",         *
  11. *   without warranty of any kind.  IBM shall not be liable for any damages   *
  12. *   arising out of your use of the sample code, even if they have been       *
  13. *   advised of the possibility of such damages.                              *
  14. *****************************************************************************/
  15. //NOTE: WE RECOMMEND USING A FIXED-SPACE FONT TO LOOK AT THE SOURCE.
  16.  
  17. #include "msgbox.h"                             //Symbolic definitions
  18.  
  19. ICON WND_MAIN msgbox.ico
  20.  
  21. //**************************************************************************
  22. // string resources - Used as the messages in the message boxes            *
  23. //  symbolic name (ID) <-> text string                                     *
  24. //**************************************************************************
  25. STRINGTABLE
  26.   BEGIN
  27.     WND_MAIN,               "Message Box Sample"
  28.     MSGBOX_TITLE,           "Message Box"
  29.     STR_HELPT,              "Help for Message Box Help Button"
  30.     MSGBOX_OKCANCEL,        "okCancelButton, informationIcon"
  31.     MSGBOX_OKWARNING,       "okButton, warningIcon"
  32.     MSGBOX_CANCELERROR,     "cancelButton, errorIcon"
  33.     MSGBOX_YESNOCANCEL,     "yesNoCancelButton, queryIcon"
  34.     MSGBOX_YESNOCANCELHELP, "yesNoCancelButton with helpId, moveable, queryIcon"
  35.     MSGBOX_SYSMODAL,        "enterButton, systemModal, errorIcon"
  36.     MSGBOX_CONTINUE,        "Loop through the message boxes again?"
  37.     MSGBOX_END, "To end the program, press alt-F4 or select Close from the system menu."
  38.     STR_HELP_NOT_FOUND, "Help file not found. Help is not available."
  39.   END
  40.