Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

171 lines
4.8 KiB

  1. // Resources for Calculator
  2. // Dialog IDs:
  3. #define IDD_SCIENTIFIC 101
  4. #define IDD_STANDARD 102
  5. #define IDD_SB 103
  6. #define IDD_TIMEOUT 104
  7. // accelerator table:
  8. #define IDA_ACCELTABLE 105
  9. // Menu item constants:
  10. #define IDM_CALCMENU 106
  11. #define IDM_DECCALCMENU 107 // alternate menu
  12. #define IDM_HEXCALCMENU 108 // alternate menu
  13. #define IDM_HELPPOPUP 109 // "What's this?" menu
  14. #define IDM_FIRSTMENU IDM_COPY
  15. #define IDM_COPY 300 // menu command IDs must be in one consecutive block
  16. #define IDM_PASTE 301
  17. #define IDM_ABOUT 302
  18. #define IDM_USE_SEPARATOR 303
  19. #define IDM_SC 304
  20. #define IDM_SSC 305
  21. #define IDM_HEX 306
  22. #define IDM_DEC 307
  23. #define IDM_OCT 308
  24. #define IDM_BIN 309
  25. #define IDM_QWORD 310
  26. #define IDM_DWORD 311
  27. #define IDM_WORD 312
  28. #define IDM_BYTE 313
  29. #define IDM_DEG 314
  30. #define IDM_RAD 315
  31. #define IDM_GRAD 316
  32. #define IDM_HELPTOPICS 317
  33. #define IDM_LASTMENU IDM_HELPTOPICS
  34. #define IDC_HEX IDM_HEX
  35. #define IDC_DEC IDM_DEC
  36. #define IDC_OCT IDM_OCT
  37. #define IDC_BIN IDM_BIN
  38. #define IDC_DEG IDM_DEG
  39. #define IDC_RAD IDM_RAD
  40. #define IDC_GRAD IDM_GRAD
  41. #define IDC_QWORD IDM_QWORD
  42. #define IDC_DWORD IDM_DWORD
  43. #define IDC_WORD IDM_WORD
  44. #define IDC_BYTE IDM_BYTE
  45. // Key IDs:
  46. // These id's must be consecutive from IDC_FIRSTCONTROL to IDC_LASTCONTROL.
  47. // The actual values don't matter but the order and sequence are very important.
  48. // Also, the order of the controls must match the order of the control names
  49. // in the string table.
  50. #define IDC_FIRSTCONTROL IDC_SIGN
  51. #define IDC_SIGN 80
  52. #define IDC_CLEAR 81
  53. #define IDC_CENTR 82
  54. #define IDC_BACK 83
  55. #define IDC_STAT 84
  56. #define IDC_PNT 85
  57. #define IDC_AND 86 // Binary operators must be between IDC_AND and IDC_PWR
  58. #define IDC_OR 87
  59. #define IDC_XOR 88
  60. #define IDC_LSHF 89
  61. #define IDC_DIV 90
  62. #define IDC_MUL 91
  63. #define IDC_ADD 92
  64. #define IDC_SUB 93
  65. #define IDC_MOD 94
  66. #define IDC_PWR 95
  67. #define IDC_CHOP 96 // Unary operators must be between IDC_CHOP and IDC_EQU
  68. #define IDC_COM 97
  69. #define IDC_SIN 98
  70. #define IDC_COS 99
  71. #define IDC_TAN 100
  72. #define IDC_LN 101
  73. #define IDC_LOG 102
  74. #define IDC_SQRT 103
  75. #define IDC_SQR 104
  76. #define IDC_CUB 105
  77. #define IDC_FAC 106
  78. #define IDC_REC 107
  79. #define IDC_DMS 108
  80. #define IDC_PERCENT 109
  81. #define IDC_FE 110
  82. #define IDC_PI 111
  83. #define IDC_EQU 112
  84. #define IDC_MCLEAR 113
  85. #define IDC_RECALL 114
  86. #define IDC_STORE 115
  87. #define IDC_MPLUS 116
  88. #define IDC_EXP 117
  89. #define IDC_AVE 118
  90. #define IDC_B_SUM 119
  91. #define IDC_DEV 120
  92. #define IDC_DATA 121
  93. #define IDC_OPENP 122
  94. #define IDC_CLOSEP 123
  95. #define IDC_0 124 // The controls for 0 through F must be consecutive and in order
  96. #define IDC_1 125
  97. #define IDC_2 126
  98. #define IDC_3 127
  99. #define IDC_4 128
  100. #define IDC_5 129
  101. #define IDC_6 130
  102. #define IDC_7 131
  103. #define IDC_8 132
  104. #define IDC_9 133
  105. #define IDC_A 134
  106. #define IDC_B 135
  107. #define IDC_C 136
  108. #define IDC_D 137
  109. #define IDC_E 138
  110. #define IDC_F 139 // this is last control ID which must match the string table
  111. #define IDC_INV 140
  112. #define IDC_HYP 141
  113. #define IDC_LASTCONTROL IDC_HYP
  114. // Edit control ID's for the various controls
  115. #define IDC_MEMTEXT 401
  116. #define IDC_PARTEXT 402
  117. #define IDC_DISPLAY 403
  118. // statbox control IDs:
  119. #define IDC_CD 404
  120. #define IDC_CAD 405
  121. #define ENDBOX 406
  122. #define IDC_STATLIST 407
  123. #define IDC_NUMTEXT 408
  124. #define IDC_NTEXT 409
  125. #define IDC_LOAD 410
  126. #define IDC_FOCUS 411
  127. #define IDC_SIZERCONTROL 1000
  128. #define CW_USEDEFAULT_X 0x8000
  129. #define IDC_STATIC -1
  130. // These are defs for the stringtable. Values are made to be sequential for each section.
  131. // All strings must be in sequential order from 0 to CSTRINGS
  132. #define IDS_FIRSTKEY 0
  133. #define IDS_DECIMAL 5
  134. #define IDS_RADIX 60
  135. #define IDS_HEX_MODES 64
  136. #define IDS_DEC_MODES 68
  137. #define IDS_ERRORS 71
  138. #define IDS_OUTOFMEM 77
  139. #define IDS_TIMEOUT 78
  140. #define IDS_HELPFILE 79
  141. #define IDS_NOPASTE 80
  142. #define IDS_STATMEM 81
  143. #define IDS_CHMHELPFILE 82
  144. #define IDS_CALC 83
  145. #define IDS_NOMEM 84
  146. #define CSTRINGS IDS_NOMEM // Count of Strings. If you add strings update this value.