home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / pm / dragdrop / dragdrop.rc < prev    next >
Text File  |  1999-05-11  |  4KB  |  102 lines

  1. /**************************************************************************
  2.  *  File name  :  dragdrop.rc
  3.  *
  4.  *  Description:  The DRAGDROP resource file defines resources
  5.  *                used by the drag/drop sample.
  6.  *
  7.  *  Concepts   :  RC
  8.  *
  9.  *  API's      :  [none]
  10.  *
  11.  *  Required
  12.  *    Files    :  OS2.H, DRAGDROP.H
  13.  *
  14.  *  Copyright (C) 1991 IBM Corporation
  15.  *
  16.  *      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  17.  *      sample code created by IBM Corporation. This sample code is not
  18.  *      part of any standard or IBM product and is provided to you solely
  19.  *      for  the purpose of assisting you in the development of your
  20.  *      applications.  The code is provided "AS IS", without
  21.  *      warranty of any kind.  IBM shall not be liable for any damages
  22.  *      arising out of your use of the sample code, even if they have been
  23.  *      advised of the possibility of such damages.                                                    *
  24.  *************************************************************************/
  25.  
  26. #include <os2.h>
  27. #include "dragdrop.h"
  28.  
  29. ICON    ID_RESOURCE dragdrop.ico
  30. POINTER ID_BUSY     dragdrop.ptr
  31. BITMAP  IDR_BITMAP  prodinfo.bmp
  32.  
  33. MENU ID_RESOURCE
  34.   {
  35.   SUBMENU "~Directory",              IDM_FILE
  36.     {
  37.     MENUITEM "~Select...",        IDM_FILEOPEN
  38.     }
  39.   SUBMENU "~Window",            IDM_WINDOW
  40.     {
  41.     MENUITEM "~Refresh",        IDM_WINDOWREFRESH
  42.     MENUITEM "~Select all",     IDM_WINDOWSELECTALL
  43.     MENUITEM "~Deselect all",   IDM_WINDOWDESELECTALL
  44.     }
  45.   SUBMENU "~Help",             IDM_HELP
  46.     {
  47.     MENUITEM    "Help ~index"               ,  IDM_HELPINDEX
  48.     MENUITEM    "~General help"             ,  IDM_HELPGENERAL
  49.     MENUITEM    "~Using help"               ,  IDM_HELPUSINGHELP
  50.     MENUITEM    SEPARATOR
  51.     MENUITEM    "~Product information"       ,  IDM_HELPPRODUCTINFO
  52.     }
  53.   }
  54.  
  55. MESSAGETABLE
  56. {
  57.     IDMSG_INITFAILED            "Initialization failed."
  58.     IDMSG_MAINWINCREATEFAILED   "Failed to create main window."
  59.     IDMSG_CANTCREATELIST        "Cannot create list."
  60.     IDMSG_NOTSUBDIRECTORY       "Item is not a subdirectory."
  61.     IDMSG_MUSTBESELECTED        "An item must be selected."
  62.     IDMSG_BADDIRECTORY          "Directory name is incorrect."
  63.     IDMSG_ATLEASTONE            "You must select an item before dragging it."
  64.     IDMSG_CANTLOCATE            "Unable to locate selected file"
  65.     IDMSG_CANTCREATESTACK       "Cannot create thread stack"
  66.     IDMSG_HEAPERROR             "Error creating the application heap"
  67.     IDMSG_HEAPALLOCERROR        "Unable to allocate from heap"
  68.     IDMSG_ALLOCDRAGINFO         "Unable to allocate APPDRAGINFO"
  69.     IDMSG_CANNOTLOADSTRING      "Unable to load a string resource"
  70.     IDMSG_HELPNOTAVAILABLE      "Help facility not available"
  71.     IDMSG_HELPCREATEERROR       "Failed to create help instance."
  72.     IDMSG_HELPASSOCIATEERROR    "Failed to associate help instance."
  73.     IDMSG_HELPDISPLAYERROR      "Failed to display help panel."
  74.     IDMSG_CANTSTARTDIALOG       "Failed to display a dialog."
  75.     IDMSG_DRAGERROR             "A direct manipulation error occurred."
  76.     IDMSG_DRAGACCESSERROR       "Error accessing drag information."
  77.     IDMSG_DRAGFREEERROR         "Error freeing drag information."
  78.     IDMSG_DRAGSETITEMERROR      "Error setting drag item."
  79.     IDMSG_DRAGQUERYSTRINGERROR  "Drag query string is empty."
  80.     IDMSG_DRAGQUERYITEMERROR    "Error querying drag item."
  81.     IDMSG_FINDAPPDRAGINFO       "Unable to find application drag information"
  82.     IDMSG_MEMFREEERROR          "Error freeing memory"
  83.     IDMSG_TARGETRENDER          "Target failed to render the dropped item"
  84. }
  85.  
  86. rcinclude dragdrop.dlg
  87. rcinclude draghelp.rc
  88.  
  89. ACCELTABLE ID_RESOURCE
  90. {
  91.     VK_F3, IDM_EXIT, VIRTUALKEY
  92. }
  93.  
  94.  
  95. STRINGTABLE  LOADONCALL
  96. BEGIN
  97.    IDS_APPNAME     ,   "Drag/Drop Sample Program - "
  98.    IDS_CLIENTCLASS ,   "DragDrop"
  99.    IDS_HELPLIBRARYNAME, "DRAGDROP.HLP"
  100. END
  101. /***************************  End of dragdrop.rc *************************/
  102.