home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 19.ddi / MFC / INCLUDE / AFXRES.RC_ / AFXRES.RC
Encoding:
Text File  |  1993-02-08  |  4.1 KB  |  100 lines

  1. // Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992 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 Microsoft
  7. // QuickHelp and/or WinHelp 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 resource will prevent the App Studio 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. /////////////////////////////////////////////////////////////////////////////
  27. // Default resource description for MFC 2.0 applications
  28. /////////////////////////////////////////////////////////////////////////////
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31. // Strings
  32.  
  33. STRINGTABLE
  34. BEGIN
  35.     AFX_IDS_OPENFILE,               "File Open"
  36.     AFX_IDS_SAVEFILE,               "File Save As"
  37.     AFX_IDS_ALLFILTER,              "All Files (*.*)"
  38.     AFX_IDS_UNTITLED,               "Untitled"
  39.  
  40.     // General error prompts
  41.     AFX_IDP_INVALID_FILENAME,       "Invalid filename."
  42.     AFX_IDP_FAILED_TO_OPEN_DOC,     "Failed to open document."
  43.     AFX_IDP_FAILED_TO_SAVE_DOC,     "Failed to save document."
  44.     AFX_IDP_ASK_TO_SAVE,            "Save Changes to %1?"
  45.     AFX_IDP_FAILED_TO_CREATE_DOC,   "Failed to create empty document."
  46.     AFX_IDP_FILE_TOO_LARGE,         "The file is too large to open."
  47.     AFX_IDP_FAILED_TO_START_PRINT,  "Could not start print job."
  48.     AFX_IDP_FAILED_TO_LAUNCH_HELP,  "Failed to launch help."
  49.     AFX_IDP_INTERNAL_FAILURE,       "Internal application error."
  50.     AFX_IDP_COMMAND_FAILURE,        "Command failed."
  51.     AFX_IDP_VB2APICALLED,           "VBX control called a VB 2.0 API\nUnpredictable actions may occur."
  52.  
  53.     // CFile/CArchive error strings for user failure
  54.     AFX_IDP_FAILED_INVALID_FORMAT   "Unexpected file format."
  55.     AFX_IDP_FAILED_INVALID_PATH     "%1\nCannot find this file.\nPlease verify that the correct path and file name are given."
  56.     AFX_IDP_FAILED_DISK_FULL        "Destination disk drive is full."
  57.     AFX_IDP_FAILED_ACCESS_READ      "Unable to read from %1, it is opened by someone else."
  58.     AFX_IDP_FAILED_ACCESS_WRITE     "Unable to write to %1, it is read-only or opened by someone else."
  59.     AFX_IDP_FAILED_IO_ERROR_READ    "An unexpected error occured while reading %1."
  60.     AFX_IDP_FAILED_IO_ERROR_WRITE   "An unexpected error occured while writing %1."
  61.  
  62.     // Parsing error prompts
  63.     AFX_IDP_PARSE_INT,              "Please enter an integer."
  64.     AFX_IDP_PARSE_REAL,             "Please enter a number."
  65.     AFX_IDP_PARSE_INT_RANGE,        "Please enter an integer between %1 and %2."
  66.     AFX_IDP_PARSE_REAL_RANGE,       "Please enter a number between %1 and %2."
  67.     AFX_IDP_PARSE_STRING_SIZE,      "Please enter no more than %1 characters."
  68.                                     // should customize for 1 character
  69. END
  70.  
  71. /////////////////////////////////////////////////////////////////////////////
  72. // Cursors
  73.  
  74. AFX_IDC_CONTEXTHELP     CURSOR  DISCARDABLE     "help.cur"
  75. AFX_IDC_SMALLARROWS     CURSOR  DISCARDABLE     "sarrows.cur"
  76. AFX_IDC_HSPLITBAR       CURSOR  DISCARDABLE     "splith.cur"
  77. AFX_IDC_VSPLITBAR       CURSOR  DISCARDABLE     "splitv.cur"
  78. AFX_IDC_NODROPCRSR      CURSOR  DISCARDABLE     "nodrop.cur"
  79.  
  80. /////////////////////////////////////////////////////////////////////////////
  81. // Standard Dialogs
  82.  
  83. AFX_IDD_NEWTYPEDLG DIALOG DISCARDABLE  9, 26, 183, 70
  84. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  85. CAPTION "New"
  86. FONT 8, "Helv"  // for Win 3.0 compatibility.
  87. BEGIN
  88.     LTEXT           "&New ",IDC_STATIC,6,5,123,8,NOT WS_GROUP
  89.     LISTBOX         AFX_IDC_LISTBOX,6,15,125,49,WS_VSCROLL | WS_TABSTOP
  90.     DEFPUSHBUTTON   "OK",IDOK,137,6,40,14
  91.     PUSHBUTTON      "Cancel",IDCANCEL,137,23,40,14
  92.     PUSHBUTTON      "&Help",ID_HELP,137,43,40,14
  93. END
  94.  
  95. /////////////////////////////////////////////////////////////////////////////
  96.  
  97. #endif //!__AFXRES_RC__
  98.  
  99. /////////////////////////////////////////////////////////////////////////////
  100.