home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK8 / MFC / SAMPLES / OCLIENT / RESOURCE.H$ / resource
Encoding:
C/C++ Source or Header  |  1992-01-15  |  2.1 KB  |  74 lines

  1. // This is a part of the 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 documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. /* Application resource ID */
  12. #define ID_APPLICATION  1
  13.  
  14. // File menu
  15. #define IMENU_FILE          0
  16. #define IDM_NEW             0x100
  17. #define IDM_OPEN            0x101
  18. #define IDM_SAVE            0x102
  19. #define IDM_SAVEAS          0x103
  20. #define IDM_EXIT            0x104
  21. #define IDM_ABOUT           0x105
  22.  
  23. // Edit menu
  24. #define IMENU_EDIT          1
  25. #define IDM_CUT             0x200
  26. #define IDM_COPY            0x201
  27. #define IDM_PASTE           0x202
  28. #define IDM_PASTELINK       0x203
  29. #define IDM_CLEAR           0x204
  30. #define IDM_CLEARALL        0x205
  31. #define IDM_INSERT_OBJECT   0x206
  32. #define IDM_LINKS           0x207
  33.  
  34. // Object popup menu (tacked onto the end of IMENU_EDIT)
  35. #define IDM_OBJECT_VERB_MIN 0x300
  36. #define IDM_OBJECT_VERB_MAX 0x3ff
  37.     /* leave 0x300 -> 0x3ff for object verbs */
  38.  
  39. // Dialogs provided by the app
  40. #define IDDT_ABOUT          1
  41.  
  42. // String Tables
  43. #define IDS_APPNAME         0x100
  44. #define IDS_UNTITLED        0x101
  45.  
  46. #define IDS_FILTER          0x102
  47. #define IDS_EXTENSION       0x103
  48. #define IDS_ALLFILTER       0x104
  49.  
  50. // dialog titles
  51. #define IDS_OPENFILE        0x105
  52. #define IDS_SAVEFILE        0x106
  53.  
  54. // Prompts
  55. #define IDS_MAYBESAVE       0x180
  56. #define IDS_SAVEINCOMPLETE  0x181
  57.  
  58. // Error Messages
  59. #define E_FAILED_TO_OPEN_FILE   0x200
  60. #define E_FAILED_TO_READ_FILE   0x201
  61. #define E_FAILED_TO_SAVE_FILE   0x202
  62. #define E_INVALID_FILENAME      0x203
  63. #define E_CLIPBOARD_CUT_FAILED  0x204
  64. #define E_CLIPBOARD_COPY_FAILED 0x205
  65. #define E_GET_FROM_CLIPBOARD_FAILED 0x206
  66. #define E_BUSY                  0x207
  67. #define E_FAILED_TO_CREATE      0x208
  68. #define E_FAILED_TO_LAUNCH      0x209
  69.  
  70. // Warning messages
  71. #define W_FAILED_TO_NOTIFY  0x303
  72.  
  73.  
  74.