notepad_res.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * Constants, used in resources.
  3. *
  4. * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
  5. * Copyright 2002 Andriy Palamarchuk
  6. *
  7. * This library is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU Lesser General Public
  9. * License as published by the Free Software Foundation; either
  10. * version 2.1 of the License, or (at your option) any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this library; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  20. */
  21. #include <windef.h>
  22. #include <winuser.h>
  23. #define MAIN_MENU 0x201
  24. #define DIALOG_PAGESETUP 0x202
  25. #define ID_ACCEL 0x203
  26. #define DIALOG_GOTO 0x204
  27. #define IDI_NOTEPAD 0x300
  28. /* Commands */
  29. #define CMD_NEW 0x100
  30. #define CMD_OPEN 0x101
  31. #define CMD_SAVE 0x102
  32. #define CMD_SAVE_AS 0x103
  33. #define CMD_PRINT 0x104
  34. #define CMD_PAGE_SETUP 0x105
  35. #define CMD_PRINTER_SETUP 0x106
  36. #define CMD_EXIT 0x108
  37. #define CMD_UNDO 0x110
  38. #define CMD_CUT 0x111
  39. #define CMD_COPY 0x112
  40. #define CMD_PASTE 0x113
  41. #define CMD_DELETE 0x114
  42. #define CMD_SELECT_ALL 0x116
  43. #define CMD_TIME_DATE 0x117
  44. #define CMD_SEARCH 0x120
  45. #define CMD_SEARCH_NEXT 0x121
  46. #define CMD_REPLACE 0x122
  47. #define CMD_GO_TO 0x192
  48. #define CMD_WRAP 0x119
  49. #define CMD_FONT 0x140
  50. #define CMD_SBAR 0x205
  51. #define CMD_HELP_CONTENTS 0x130
  52. #define CMD_HELP_ABOUT_NOTEPAD 0x134
  53. /* Control IDs */
  54. #define IDC_PAGESETUP_HEADERVALUE 0x141
  55. #define IDC_PAGESETUP_FOOTERVALUE 0x143
  56. #define IDC_PAGESETUP_LEFTVALUE 0x147
  57. #define IDC_PAGESETUP_RIGHTVALUE 0x14A
  58. #define IDC_PAGESETUP_TOPVALUE 0x14D
  59. #define IDC_PAGESETUP_BOTTOMVALUE 0x150
  60. #define IDC_GOTO_LINEVALUE 0x194
  61. /* Strings */
  62. #define STRING_PAGESETUP_HEADERVALUE 0x160
  63. #define STRING_PAGESETUP_FOOTERVALUE 0x161
  64. #define STRING_NOTEPAD 0x170
  65. #define STRING_ERROR 0x171
  66. #define STRING_UNTITLED 0x174
  67. #define STRING_ALL_FILES 0x175
  68. #define STRING_TEXT_FILES_TXT 0x176
  69. #define STRING_DOESNOTEXIST 0x179
  70. #define STRING_NOTSAVED 0x17A
  71. #define STRING_NOTFOUND 0x17B
  72. #define STRING_STATUSBAR 0x206
  73. #define STRING_UNICODE_LE 0x180
  74. #define STRING_UNICODE_BE 0x181
  75. #define STRING_UTF8 0x182
  76. #define STRING_LOSS_OF_UNICODE_CHARACTERS 0x183
  77. /* Open/Save As dialog template */
  78. #define IDD_OFN_TEMPLATE 0x190
  79. #define IDC_OFN_ENCCOMBO 0x191