NPP.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:12k
源码类别:

Windows编程

开发平台:

Visual C++

  1. //Microsoft Visual C++ generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. #ifdef APSTUDIO_INVOKED
  13. /////////////////////////////////////////////////////////////////////////////
  14. //
  15. // TEXTINCLUDE
  16. //
  17. 1 TEXTINCLUDE DISCARDABLE
  18. BEGIN
  19. "resource.h"
  20. END
  21. 2 TEXTINCLUDE DISCARDABLE
  22. BEGIN
  23. "#include ""afxres.h""rn"
  24. ""
  25. END
  26. 3 TEXTINCLUDE DISCARDABLE
  27. BEGIN
  28. "#define _AFX_NO_SPLITTER_RESOURCESrn"
  29. "#define _AFX_NO_OLE_RESOURCESrn"
  30. "#define _AFX_NO_TRACKER_RESOURCESrn"
  31. "#define _AFX_NO_PROPERTY_RESOURCESrn"
  32. "rn"
  33. "#include ""res\np.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  34. "#include ""afxres.rc""         // Standard componentsrn"
  35. "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  36. ""
  37. END
  38. /////////////////////////////////////////////////////////////////////////////
  39. #endif    // APSTUDIO_INVOKED
  40. /////////////////////////////////////////////////////////////////////////////
  41. //
  42. // Icon
  43. //
  44. IDR_MAINFRAME           ICON    DISCARDABLE     "res\np.ico"
  45. IDR_NPTYPE              ICON    DISCARDABLE     "res\npdoc.ico"
  46. /////////////////////////////////////////////////////////////////////////////
  47. //
  48. // Bitmap
  49. //
  50. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\toolbar.bmp"
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Menu
  54. //
  55. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  56. BEGIN
  57. POPUP "&File"
  58. BEGIN
  59. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  60. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  61. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  62. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  63. MENUITEM SEPARATOR
  64. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  65. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  66. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  67. MENUITEM SEPARATOR
  68. MENUITEM "S&end...",                    ID_FILE_SEND_MAIL
  69. MENUITEM SEPARATOR
  70. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  71. MENUITEM SEPARATOR
  72. MENUITEM "E&xit",                       ID_APP_EXIT
  73. END
  74. POPUP "&Edit"
  75. BEGIN
  76. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  77. MENUITEM SEPARATOR
  78. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  79. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  80. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  81. MENUITEM SEPARATOR
  82. MENUITEM "&Find...tAlt+F3",            ID_EDIT_FIND
  83. MENUITEM "&Replace...",                 ID_EDIT_REPLACE
  84. MENUITEM "&Go To...tCtrl+G",           ID_EDIT_GOTO
  85. END
  86. POPUP "&View"
  87. BEGIN
  88. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  89. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  90. END
  91. POPUP "&Help"
  92. BEGIN
  93. MENUITEM "&About Notepad+...",          ID_APP_ABOUT
  94. END
  95. END
  96. /////////////////////////////////////////////////////////////////////////////
  97. //
  98. // Accelerator
  99. //
  100. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  101. BEGIN
  102. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  103. "F",            ID_EDIT_FIND_COMBO,     VIRTKEY, CONTROL, NOINVERT
  104. "G",            ID_EDIT_GOTO,           VIRTKEY, CONTROL, NOINVERT
  105. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
  106. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
  107. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
  108. "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
  109. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  110. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  111. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  112. VK_F3,          ID_VIEW_FIND_NEXT,      VIRTKEY, NOINVERT
  113. VK_F3,          ID_EDIT_FIND,           VIRTKEY, ALT, NOINVERT
  114. VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  115. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  116. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  117. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  118. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  119. END
  120. /////////////////////////////////////////////////////////////////////////////
  121. //
  122. // Dialog
  123. //
  124. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  125. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  126. CAPTION "About Notepad+"
  127. FONT 8, "MS Sans Serif"
  128. BEGIN
  129. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  130. LTEXT           "Notepad+ Version 1.0",IDC_STATIC,40,10,79,8
  131. LTEXT           "Copyright 251 1998 Microsoft Corp.",IDC_STATIC,40,25,
  132. 120,8
  133. DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
  134. END
  135. IDD_GOTO DIALOG DISCARDABLE  0, 0, 149, 51
  136. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  137. CAPTION "Go To"
  138. FONT 8, "MS Sans Serif"
  139. BEGIN
  140. EDITTEXT        IDC_GOTO_LINE,7,17,134,13,ES_AUTOHSCROLL
  141. DEFPUSHBUTTON   "&Go To",IDOK,16,36,50,14
  142. PUSHBUTTON      "Cancel",IDCANCEL,82,36,50,14
  143. LTEXT           "&Line:",IDC_STATIC,7,5,25,8
  144. END
  145. IDD_FIND DIALOG DISCARDABLE  0, 0, 257, 82
  146. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  147. CAPTION "Find"
  148. FONT 8, "MS Sans Serif"
  149. BEGIN
  150. COMBOBOX        IDC_COMBO1,48,7,138,74,CBS_DROPDOWN | WS_VSCROLL |
  151. WS_TABSTOP
  152. CONTROL         "Match &Case",IDC_CHECK1,"Button",BS_AUTOCHECKBOX |
  153. WS_TABSTOP,5,30,57,10
  154. CONTROL         "&Up",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |
  155. WS_TABSTOP,116,41,29,10
  156. CONTROL         "&Down",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON |
  157. WS_TABSTOP,116,55,39,10
  158. DEFPUSHBUTTON   "&Find Next",ID_EDIT_FIND_NEXT,200,7,50,14,WS_GROUP
  159. PUSHBUTTON      "Cancel",IDCANCEL,200,24,50,14
  160. GROUPBOX        "Direction",IDC_STATIC,111,30,75,38
  161. LTEXT           "Fi&nd What:",IDC_STATIC,5,9,41,8
  162. END
  163. /////////////////////////////////////////////////////////////////////////////
  164. //
  165. // Version
  166. //
  167. VS_VERSION_INFO VERSIONINFO
  168.  FILEVERSION 1,0,0,0
  169.  PRODUCTVERSION 1,0,0,0
  170.  FILEFLAGSMASK 0x3fL
  171. #ifdef _DEBUG
  172.  FILEFLAGS 0x1L
  173. #else
  174.  FILEFLAGS 0x0L
  175. #endif
  176.  FILEOS 0x4L
  177.  FILETYPE 0x1L
  178.  FILESUBTYPE 0x0L
  179. BEGIN
  180. BLOCK "StringFileInfo"
  181. BEGIN
  182. BLOCK "040904b0"
  183. BEGIN
  184. VALUE "Comments", "MFC Sample Application"
  185. VALUE "CompanyName", "Microsoft Corp."
  186. VALUE "FileDescription", "NPP MFC Application"
  187. VALUE "FileVersion", "1.0.0.0"
  188. VALUE "InternalName", "NPP"
  189. VALUE "LegalCopyright", "Copyright 251 1998 Microsoft Corp."
  190. VALUE "OriginalFilename", "NPP.EXE"
  191. VALUE "ProductName", "Notepad+ Application"
  192. VALUE "ProductVersion", "1.0.0.0"
  193. END
  194. END
  195. BLOCK "VarFileInfo"
  196. BEGIN
  197. VALUE "Translation", 0x409, 1200
  198. END
  199. END
  200. /////////////////////////////////////////////////////////////////////////////
  201. //
  202. // String Table
  203. //
  204. STRINGTABLE PRELOAD DISCARDABLE
  205. BEGIN
  206. IDR_MAINFRAME           "Notepad+nnNpnnnNp.DocumentnNp Document"
  207. END
  208. STRINGTABLE PRELOAD DISCARDABLE
  209. BEGIN
  210. AFX_IDS_APP_TITLE       "Notepad+"
  211. AFX_IDS_IDLEMESSAGE     "Ready"
  212. END
  213. STRINGTABLE DISCARDABLE
  214. BEGIN
  215. ID_INDICATOR_EXT        "EXT"
  216. ID_INDICATOR_CAPS       "CAP"
  217. ID_INDICATOR_NUM        "NUM"
  218. ID_INDICATOR_SCRL       "SCRL"
  219. ID_INDICATOR_OVR        "OVR"
  220. ID_INDICATOR_REC        "REC"
  221. ID_INDICATOR_LINE       "Ln                 "
  222. ID_INDICATOR_CLOCK      " "
  223. END
  224. STRINGTABLE DISCARDABLE
  225. BEGIN
  226. ID_FILE_NEW             "Create a new documentnNew Document"
  227. ID_FILE_OPEN            "Open an existing documentnOpen Document"
  228. ID_FILE_CLOSE           "Close the active documentnClose"
  229. ID_FILE_SAVE            "Save the active documentnSave"
  230. ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  231. ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  232. ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  233. ID_FILE_PRINT           "Print the active documentnPrint"
  234. ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  235. ID_FILE_SEND_MAIL       "Send document electronically"
  236. END
  237. STRINGTABLE DISCARDABLE
  238. BEGIN
  239. ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  240. ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  241. END
  242. STRINGTABLE DISCARDABLE
  243. BEGIN
  244. ID_FILE_MRU_FILE1       "Open this document"
  245. ID_FILE_MRU_FILE2       "Open this document"
  246. ID_FILE_MRU_FILE3       "Open this document"
  247. ID_FILE_MRU_FILE4       "Open this document"
  248. ID_FILE_MRU_FILE5       "Open this document"
  249. ID_FILE_MRU_FILE6       "Open this document"
  250. ID_FILE_MRU_FILE7       "Open this document"
  251. ID_FILE_MRU_FILE8       "Open this document"
  252. END
  253. STRINGTABLE DISCARDABLE
  254. BEGIN
  255. ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  256. ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  257. END
  258. STRINGTABLE DISCARDABLE
  259. BEGIN
  260. ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  261. END
  262. STRINGTABLE DISCARDABLE
  263. BEGIN
  264. ID_EDIT_CLEAR           "Erase the selectionnErase"
  265. ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  266. ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  267. ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  268. ID_EDIT_FIND            "Find the specified textnFind"
  269. ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  270. ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  271. ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  272. ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  273. ID_EDIT_UNDO            "Undo the last actionnUndo"
  274. ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  275. END
  276. STRINGTABLE DISCARDABLE
  277. BEGIN
  278. ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  279. ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  280. END
  281. STRINGTABLE DISCARDABLE
  282. BEGIN
  283. AFX_IDS_SCSIZE          "Change the window size"
  284. AFX_IDS_SCMOVE          "Change the window position"
  285. AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  286. AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  287. AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  288. AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  289. AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  290. END
  291. STRINGTABLE DISCARDABLE
  292. BEGIN
  293. AFX_IDS_SCRESTORE       "Restore the window to normal size"
  294. AFX_IDS_SCTASKLIST      "Activate Task List"
  295. END
  296. STRINGTABLE DISCARDABLE
  297. BEGIN
  298. AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  299. NPERROR_INVALID_LINENUM "Line number must be greater than 0"
  300. NPERROR_NUM_TOO_BIG     "Line number is beyond end of document"
  301. END
  302. STRINGTABLE DISCARDABLE
  303. BEGIN
  304. AFX_IDS_DESKACCESSORY   "Opens the selected item"
  305. END
  306. STRINGTABLE DISCARDABLE
  307. BEGIN
  308. ID_EDIT_GOTO            "Move cursor to a specified location"
  309. ID_EDIT_WORDWRAP        "Turn on/off word wrapping"
  310. END
  311. STRINGTABLE DISCARDABLE
  312. BEGIN
  313. IDW_COMBO               "Finds the specified textnFind"
  314. END
  315. #ifndef APSTUDIO_INVOKED
  316. /////////////////////////////////////////////////////////////////////////////
  317. //
  318. // Generated from the TEXTINCLUDE 3 resource.
  319. //
  320. #define _AFX_NO_SPLITTER_RESOURCES
  321. #define _AFX_NO_OLE_RESOURCES
  322. #define _AFX_NO_TRACKER_RESOURCES
  323. #define _AFX_NO_PROPERTY_RESOURCES
  324. #include "resnp.rc2"  // non-Microsoft Visual C++ edited resources
  325. #include "afxres.rc"         // Standard components
  326. #include "afxprint.rc"       // printing/print preview resources
  327. /////////////////////////////////////////////////////////////////////////////
  328. #endif    // not APSTUDIO_INVOKED