home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pentlk11.zip / APPLIC.RC < prev    next >
Text File  |  1994-01-13  |  3KB  |  70 lines

  1. /****************************************************************************/
  2. /*                                                                          */
  3. /*  File Name   : APPLIC.RC                                                 */
  4. /*                                                                          */
  5. /*  Description : Example Sketch/Handwriting Controls in Pen for OS/2        */
  6. /*                                                                          */
  7. /*  Copyright (C) 1992 IBM Corporation                                      */
  8. /*                                                                          */
  9. /*      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is         */
  10. /*      sample code created by IBM Corporation. This sample code is not     */
  11. /*      part of any standard or IBM product and is provided to you solely   */
  12. /*      for  the purpose of assisting you in the development of your        */
  13. /*      applications.  The code is provided "AS IS", without                */
  14. /*      warranty of any kind.  IBM shall not be liable for any damages      */
  15. /*      arising out of your use of the sample code, even if they have been  */
  16. /*      advised of the possibility of such damages.                         */
  17. /*                                                                          */
  18. /****************************************************************************/
  19.  
  20. #define  INCL_PM
  21. #include <os2.h>
  22. #include <penpm.h>
  23.  
  24. #include "applic.h"
  25.  
  26. ICON ID_MAIN applic.ico
  27.  
  28. POINTER   BLACK_PEN     blackpen.ptr
  29. POINTER   BLUE_PEN      bluepen.ptr
  30. POINTER   RED_PEN       redpen.ptr
  31.  
  32. MENU ID_MAIN PRELOAD
  33. BEGIN
  34.     SUBMENU "Options",             -1
  35.     BEGIN
  36.        MENUITEM "~Fill Out Application",                  IDM_FILL_APP
  37.        MENUITEM "~Display Application",                   IDM_DISPLAY_APP
  38.        MENUITEM "E~xit",                                  IDM_EXIT
  39.     END
  40. END
  41.  
  42. MESSAGETABLE
  43. BEGIN
  44.  
  45.   IDMSG_INFO                  "Information Message"
  46.   IDMSG_FILE_END              "End of File."
  47.  
  48.   IDMSG_WARNING               "Warning Message"
  49.  
  50.   IDMSG_ERROR                 "Error Message"
  51.   IDMSG_NO_PEN_RUNNING        "Pen for OS/2 is not running."
  52.   IDMSG_FILE_OPEN_ERROR       "File Open Error!"
  53.   IDMSG_FILE_WRITE_ERROR      "File Write Error!"
  54.   IDMSG_FILE_READ_ERROR       "File Read Error!"
  55.   IDMSG_NO_RECORDS            "No Records in File!"
  56.   IDMSG_SIGNATURE_READ_ERROR  "Error Reading Signature!"
  57.   IDMSG_MISSING_LASTNAME      "Application cannot be saved without a last name."
  58.   IDMSG_MEMORY_ERROR          "Memory Allocation Error."
  59.   IDMSG_MISSING_FILE          "No Applications to Display!"
  60. END
  61.  
  62. STRINGTABLE PRELOAD
  63. BEGIN
  64.  APPLIC_CLASSNAME,       "APPLIC.EXE - A Handwriting/Sketch Demo"
  65. END
  66.  
  67. rcinclude applic.dlg
  68.  
  69.  
  70.