/****************************************************************************/
/*                                                                          */
/*  File Name   : APPLIC.RC                                                 */
/*                                                                          */
/*  Description : Example Sketch/Handwriting Controls in Pen for OS/2        */
/*                                                                          */
/*  Copyright (C) 1992 IBM Corporation                                      */
/*                                                                          */
/*      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is         */
/*      sample code created by IBM Corporation. This sample code is not     */
/*      part of any standard or IBM product and is provided to you solely   */
/*      for  the purpose of assisting you in the development of your        */
/*      applications.  The code is provided "AS IS", without                */
/*      warranty of any kind.  IBM shall not be liable for any damages      */
/*      arising out of your use of the sample code, even if they have been  */
/*      advised of the possibility of such damages.                         */
/*                                                                          */
/****************************************************************************/

#define  INCL_PM
#include <os2.h>
#include <penpm.h>

#include "applic.h"

ICON ID_MAIN applic.ico

POINTER   BLACK_PEN     blackpen.ptr
POINTER   BLUE_PEN      bluepen.ptr
POINTER   RED_PEN       redpen.ptr

MENU ID_MAIN PRELOAD
BEGIN
    SUBMENU "Options",             -1
    BEGIN
       MENUITEM "~Fill Out Application",                  IDM_FILL_APP
       MENUITEM "~Display Application",                   IDM_DISPLAY_APP
       MENUITEM "E~xit",                                  IDM_EXIT
    END
END

MESSAGETABLE
BEGIN

  IDMSG_INFO                  "Information Message"
  IDMSG_FILE_END              "End of File."

  IDMSG_WARNING               "Warning Message"

  IDMSG_ERROR                 "Error Message"
  IDMSG_NO_PEN_RUNNING        "Pen for OS/2 is not running."
  IDMSG_FILE_OPEN_ERROR       "File Open Error!"
  IDMSG_FILE_WRITE_ERROR      "File Write Error!"
  IDMSG_FILE_READ_ERROR       "File Read Error!"
  IDMSG_NO_RECORDS            "No Records in File!"
  IDMSG_SIGNATURE_READ_ERROR  "Error Reading Signature!"
  IDMSG_MISSING_LASTNAME      "Application cannot be saved without a last name."
  IDMSG_MEMORY_ERROR          "Memory Allocation Error."
  IDMSG_MISSING_FILE          "No Applications to Display!"
END

STRINGTABLE PRELOAD
BEGIN
 APPLIC_CLASSNAME,       "APPLIC.EXE - A Handwriting/Sketch Demo"
END

rcinclude applic.dlg


