home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / include / afxres.rc < prev    next >
Text File  |  1998-06-16  |  10KB  |  203 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. #ifndef __AFXRES_RC__
  12. #define __AFXRES_RC__
  13.  
  14. #ifndef __AFXRES_H__
  15.     #include <afxres.h>
  16. #endif
  17.  
  18. #ifdef APSTUDIO_INVOKED
  19. // This will prevent the VC++ Resource Editor user from saving this file
  20. 1 TEXTINCLUDE DISCARDABLE
  21. BEGIN
  22. "< Cannot change standard MFC resources! >\0"
  23. END
  24. #endif //APSTUDIO_INVOKED
  25.  
  26. #ifndef _AFXDLL
  27.  
  28. /////////////////////////////////////////////////////////////////////////////
  29. // Default resource description for MFC applications
  30. /////////////////////////////////////////////////////////////////////////////
  31.  
  32. /////////////////////////////////////////////////////////////////////////////
  33. // Strings
  34.  
  35. STRINGTABLE DISCARDABLE
  36. BEGIN
  37. #ifndef _AFX_NO_APPMENU_RESOURCES
  38.     AFX_IDS_OPENFILE,               "Open"
  39.     AFX_IDS_SAVEFILE,               "Save As"
  40.     AFX_IDS_ALLFILTER,              "All Files (*.*)"
  41.     AFX_IDS_UNTITLED,               "Untitled"
  42.     AFX_IDS_HIDE,                   "&Hide"
  43. #endif // !_AFX_NO_APPMENUSTRING_RESOURCES
  44.  
  45.     AFX_IDS_MEMORY_EXCEPTION,       "Out of memory."
  46.     AFX_IDS_NOT_SUPPORTED_EXCEPTION,"An unsupported operation was attempted."
  47.     AFX_IDS_RESOURCE_EXCEPTION,     "A required resource was unavailable."
  48.     AFX_IDS_USER_EXCEPTION,         "An unknown error has occurred."
  49.  
  50.     // General error prompts
  51. #ifndef _AFX_NO_FILECMD_RESOURCES
  52.     AFX_IDP_INVALID_FILENAME,       "Invalid filename."
  53.     AFX_IDP_FAILED_TO_OPEN_DOC,     "Failed to open document."
  54.     AFX_IDP_FAILED_TO_SAVE_DOC,     "Failed to save document."
  55.     AFX_IDP_ASK_TO_SAVE,            "Save changes to %1?"
  56.     AFX_IDP_FAILED_TO_CREATE_DOC,   "Failed to create empty document."
  57.     AFX_IDP_FILE_TOO_LARGE,         "The file is too large to open."
  58.     AFX_IDP_FAILED_TO_START_PRINT,  "Could not start print job."
  59. #endif // !_AFX_NO_FILECMD_RESOURCES
  60.     AFX_IDP_FAILED_TO_LAUNCH_HELP,  "Failed to launch help."
  61.     AFX_IDP_INTERNAL_FAILURE,       "Internal application error."
  62.     AFX_IDP_COMMAND_FAILURE,        "Command failed."
  63.     AFX_IDP_FAILED_MEMORY_ALLOC     "Insufficient memory to perform operation."
  64.     AFX_IDP_GET_NOT_SUPPORTED,      "Unable to read write-only property."
  65.     AFX_IDP_SET_NOT_SUPPORTED,      "Unable to write read-only property."
  66.     AFX_IDP_UNREG_DONE,               "System registry entries have been removed and the INI file (if any) was deleted."
  67.     AFX_IDP_UNREG_FAILURE,            "Not all of the system registry entries (or INI file) were removed."
  68.     AFX_IDP_DLL_LOAD_FAILED,        "This program requires the file %s, which was not found on this system."
  69.     AFX_IDP_DLL_BAD_VERSION,        "This program is linked to the missing export %s in the file %s. This machine may have an incompatible version of %s."
  70.  
  71.     // CFile/CArchive error strings for user failure
  72. #ifndef _AFX_NO_CFILE_RESOURCES
  73.     AFX_IDP_FAILED_INVALID_FORMAT   "Unexpected file format."
  74.     AFX_IDP_FAILED_INVALID_PATH     "%1\nCannot find this file.\nPlease verify that the correct path and file name are given."
  75.     AFX_IDP_FAILED_DISK_FULL        "Destination disk drive is full."
  76.     AFX_IDP_FAILED_ACCESS_READ      "Unable to read from %1, it is opened by someone else."
  77.     AFX_IDP_FAILED_ACCESS_WRITE     "Unable to write to %1, it is read-only or opened by someone else."
  78.     AFX_IDP_FAILED_IO_ERROR_READ    "An unexpected error occurred while reading %1."
  79.     AFX_IDP_FAILED_IO_ERROR_WRITE   "An unexpected error occurred while writing %1."
  80. #endif // !_AFX_NO_CFILE_RESOURCES
  81.  
  82.     // Parsing error prompts
  83.     AFX_IDP_PARSE_INT,              "Please enter an integer."
  84.     AFX_IDP_PARSE_REAL,             "Please enter a number."
  85.     AFX_IDP_PARSE_INT_RANGE,        "Please enter an integer between %1 and %2."
  86.     AFX_IDP_PARSE_REAL_RANGE,       "Please enter a number between %1 and %2."
  87.     AFX_IDP_PARSE_STRING_SIZE,      "Please enter no more than %1 characters."
  88.     AFX_IDP_PARSE_RADIO_BUTTON,     "Please select a button."
  89.     AFX_IDP_PARSE_BYTE,             "Please enter an integer between 0 and 255."
  90.     AFX_IDP_PARSE_UINT,             "Please enter a positive integer."
  91.     AFX_IDP_PARSE_DATETIME,         "Please enter a date and/or time."
  92.     AFX_IDP_PARSE_CURRENCY,         "Please enter a currency."
  93.  
  94. #ifndef _AFX_NO_OLE_RESOURCES
  95.     // OLE strings required for both servers and containers
  96.     AFX_IDS_PASTELINKEDTYPE         "Linked %s"
  97.     AFX_IDS_UNKNOWNTYPE             "Unknown Type"
  98.     AFX_IDP_FAILED_TO_NOTIFY        "%1\nUnable to register document.\nThe document may already be open."
  99.     AFX_IDS_NOT_DOCOBJECT           "The file is not supported by a Document Object server."
  100. #endif //!_AFX_NO_OLE_RESOURCES
  101.  
  102.     AFX_IDP_NO_ERROR_AVAILABLE      "No error message is available."
  103.  
  104. #ifndef _AFX_NO_CFILE_RESOURCES
  105.     AFX_IDP_FILE_NONE                "No error occurred."
  106.     AFX_IDP_FILE_GENERIC             "An unknown error occurred while accessing %1."
  107.     AFX_IDP_FILE_NOT_FOUND           "%1 was not found."
  108.     AFX_IDP_FILE_BAD_PATH            "%1 contains an invalid path."
  109.     AFX_IDP_FILE_TOO_MANY_OPEN       "%1 could not be opened because there are too many open files."
  110.     AFX_IDP_FILE_ACCESS_DENIED       "Access to %1 was denied."
  111.     AFX_IDP_FILE_INVALID_FILE        "An invalid file handle was associated with %1."
  112.     AFX_IDP_FILE_REMOVE_CURRENT      "%1 could not be removed because it is the current directory."
  113.     AFX_IDP_FILE_DIR_FULL            "%1 could not be created because the directory is full."
  114.     AFX_IDP_FILE_BAD_SEEK            "Seek failed on %1"
  115.     AFX_IDP_FILE_HARD_IO             "A hardware I/O error was reported while accessing %1."
  116.     AFX_IDP_FILE_SHARING             "A sharing violation occurred while accessing %1."
  117.     AFX_IDP_FILE_LOCKING             "A locking violation occurred while accessing %1."
  118.     AFX_IDP_FILE_DISKFULL            "Disk full while accessing %1."
  119.     AFX_IDP_FILE_EOF                 "An attempt was made to access %1 past its end."
  120.     AFX_IDS_UNNAMED_FILE             "an unnamed file"
  121. #endif // !_AFX_NO_CFILE_RESOURCES
  122.  
  123.     AFX_IDP_ARCH_NONE               "No error occurred."
  124.     AFX_IDP_ARCH_GENERIC                "An unknown error occurred while accessing %1."
  125.     AFX_IDP_ARCH_READONLY           "An attempt was made to write to the reading %1."
  126.     AFX_IDP_ARCH_ENDOFFILE          "An attempt was made to access %1 past its end."
  127.     AFX_IDP_ARCH_WRITEONLY          "An attempt was made to read from the writing %1."
  128.     AFX_IDP_ARCH_BADINDEX           "%1 has a bad format."
  129.     AFX_IDP_ARCH_BADCLASS           "%1 contained an unexpected object."
  130.     AFX_IDP_ARCH_BADSCHEMA          "%1 contains an incorrect schema."
  131.  
  132. #ifndef _AFX_NO_MAPI_RESOURCES
  133.     // MAPI strings / error messages
  134.     AFX_IDP_FAILED_MAPI_LOAD        "Unable to load mail system support."
  135.     AFX_IDP_INVALID_MAPI_DLL        "Mail system DLL is invalid."
  136.     AFX_IDP_FAILED_MAPI_SEND        "Send Mail failed to send message."
  137. #endif //!_AFX_NO_MAPI_RESOURCES
  138.  
  139. #ifndef _AFX_NO_OCC_RESOURCES
  140.     AFX_IDS_OCC_SCALEUNITS_PIXELS   "pixels"
  141. #endif //!_AFX_NO_OCC_RESOURCES
  142. END
  143.  
  144. /////////////////////////////////////////////////////////////////////////////
  145. // Cursors
  146.  
  147. AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "res\\help.cur"
  148.  
  149. #ifndef _AFX_NO_SPLITTER_RESOURCES
  150. AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "res\\sarrows.cur"
  151. AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "res\\splith.cur"
  152. AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "res\\splitv.cur"
  153. AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "res\\nodrop.cur"
  154. #endif //!_AFX_NO_SPLITTER_RESOURCES
  155.  
  156. #ifndef _AFX_NO_TRACKER_RESOURCES
  157. AFX_IDC_TRACKNWSE       CURSOR  DISCARDABLE     "res\\trcknwse.cur"
  158. AFX_IDC_TRACKNESW       CURSOR  DISCARDABLE     "res\\trcknesw.cur"
  159. AFX_IDC_TRACKNS         CURSOR  DISCARDABLE     "res\\trckns.cur"
  160. AFX_IDC_TRACKWE         CURSOR  DISCARDABLE     "res\\trckwe.cur"
  161. AFX_IDC_TRACK4WAY       CURSOR  DISCARDABLE     "res\\trck4way.cur"
  162. AFX_IDC_MOVE4WAY        CURSOR  DISCARDABLE     "res\\move4way.cur"
  163. #endif //!_AFX_NO_TRACKER_RESOURCES
  164.  
  165. #ifndef _AFX_NO_CTL3D_RESOURCES
  166. 26567 BITMAP "res\\3dcheck.bmp" // Note: 26567 comes from CTL3D.H
  167. #endif
  168.  
  169. /////////////////////////////////////////////////////////////////////////////
  170. // Standard Dialogs
  171.  
  172. #ifndef _AFX_NO_NEWTYPEDLG_RESOURCES
  173. AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
  174. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 0x04
  175. CAPTION "New"
  176. FONT 8, "MS Shell Dlg"
  177. BEGIN
  178.     LTEXT           "&New ",IDC_STATIC,6,5,123,8,NOT WS_GROUP
  179.     LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
  180.     DEFPUSHBUTTON   "OK",IDOK,137,6,40,14
  181.     PUSHBUTTON      "Cancel",IDCANCEL,137,23,40,14
  182.     PUSHBUTTON      "&Help",ID_HELP,137,43,40,14
  183. END
  184. #endif // !_AFX_NO_NEWTYPEDLG_RESOURCES
  185.  
  186. /////////////////////////////////////////////////////////////////////////////
  187. // CMiniFrameWnd Bitmap
  188.  
  189. AFX_IDB_MINIFRAME_MENU      BITMAP  DISCARDABLE     "res\\minifwnd.bmp"
  190.  
  191. /////////////////////////////////////////////////////////////////////////////
  192. // CCheckListBox Bitmaps
  193.  
  194. AFX_IDB_CHECKLISTBOX_NT     BITMAP  DISCARDABLE     "res\\ntcheck.bmp"
  195. AFX_IDB_CHECKLISTBOX_95     BITMAP  DISCARDABLE     "res\\95check.bmp"
  196.  
  197. /////////////////////////////////////////////////////////////////////////////
  198.  
  199. #endif //!_AFXDLL
  200. #endif //!__AFXRES_RC__
  201.  
  202. /////////////////////////////////////////////////////////////////////////////
  203.