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.

195 lines
5.7 KiB

  1. /************************************************************/
  2. /* Windows Write, Copyright 1985-1992 Microsoft Corporation */
  3. /************************************************************/
  4. /* This file contains the definition of the numerical indexes to the dialog
  5. items (idi) used by Windows Memo. */
  6. /* IDOK and IDCANCEL are defined in windows.h
  7. windows dialog manager returns :
  8. IDOK if the <Return> key is hit
  9. IDCANCEL if the <ESC> key is hit
  10. As a rule, the default button should be assigned idiOk
  11. */
  12. #define idiNil -1
  13. #define idiOk IDOK
  14. #define idiCancel IDCANCEL
  15. #define idiYes IDYES
  16. #define idiNo IDNO
  17. #ifndef NOIDISAVEPRINT /* Another tool to avoid compiler heap overflow */
  18. #define idiAbort idiOk
  19. #define idiRetry 3
  20. #define idiIgnore idiCancel
  21. #define idiMessage 4
  22. #define idiSavDir 3
  23. #define idiSavFile 4
  24. #define idiSavBackup 5
  25. #define idiSavTextOnly 6
  26. #define idiSavWordFmt 7
  27. #define idiSavDirLB 8
  28. #define idiOpenDir 3
  29. #define idiOpenFile 4
  30. #define idiOpenFileLB 5
  31. #define idiOpenDirLB 6
  32. #define idiPrterName 3
  33. #define idiPrterSetup 4
  34. #define idiRepageConfirm 3
  35. #define idiGtoPage 3
  36. #define idiPrtAll 6
  37. #define idiPrtFrom 7
  38. #define idiPrtPageFrom 8
  39. #define idiPrtPageTo 9
  40. #define idiPrtCopies 10
  41. #define idiPrtDraft 11
  42. #define idiPrtDest 12
  43. #define idiPrCancelName 100 /* For the filename in CancelPrint dlg */
  44. /* interactive repaginating */
  45. #define idiKeepPgMark idiOk
  46. #define idiRemovePgMark 4
  47. #define idiRepUp 5
  48. #define idiRepDown 6
  49. #endif /* NOIDISAVEPRINT */
  50. #ifndef NOIDIFORMATS
  51. #define idiChrFontName 3
  52. #define idiChrLBFontName 4
  53. #define idiChrFontSize 5
  54. #define idiChrLBFontSize 6
  55. #define idiParLfIndent 3
  56. #define idiParFirst 4
  57. #define idiParRtIndent 5
  58. /*#define idiParLineSp 6
  59. #define idiParSpBefore 7
  60. #define idiParSpAfter 8
  61. #define idiParLeft 9
  62. #define idiParCentered 10
  63. #define idiParRight 11
  64. #define idiParJustified 12
  65. #define idiParKeepNext 13
  66. #define idiParKeepTogether 14 */
  67. #define idiTabClearAll 3
  68. #define idiTabPos0 4
  69. #define idiTabPos1 5
  70. #define idiTabPos2 6
  71. #define idiTabPos3 7
  72. #define idiTabPos4 8
  73. #define idiTabPos5 9
  74. #define idiTabPos6 10
  75. #define idiTabPos7 11
  76. #define idiTabPos8 12
  77. #define idiTabPos9 13
  78. #define idiTabPos10 14
  79. #define idiTabPos11 15
  80. #define idiTabDec0 16
  81. #define idiTabDec1 17
  82. #define idiTabDec2 18
  83. #define idiTabDec3 19
  84. #define idiTabDec4 20
  85. #define idiTabDec5 21
  86. #define idiTabDec6 22
  87. #define idiTabDec7 23
  88. #define idiTabDec8 24
  89. #define idiTabDec9 25
  90. #define idiTabDec10 26
  91. #define idiTabDec11 27
  92. #define idiRHInsertPage 3
  93. #define idiRHClear 4
  94. #define idiRHDx 5
  95. #define idiRHFirst 6
  96. #define idiRHDxText 7
  97. #define idiRHLines 8
  98. #define idiDivPNStart 3
  99. #define idiDivLMarg 4
  100. #define idiDivRMarg 5
  101. #define idiDivTMarg 6
  102. #define idiDivBMarg 7
  103. #ifdef INTL
  104. #define idiDivInch 8
  105. #define idiDivCm 9
  106. #endif /* INTERNATIONAL */
  107. #endif /* NOIDIFORMATS */
  108. #define idiFind 7
  109. #define idiChangeThenFind 9
  110. #define idiChange 3
  111. #define idiChangeAll 4
  112. #if defined(JAPAN) || defined(KOREA) /*t-Yoshio*/
  113. #define idiDistinguishDandS 10
  114. #endif
  115. #define idiWholeWord 5
  116. #define idiMatchCase 6
  117. #define idiFindNext idiOk
  118. #define idiChangeTo 8
  119. #define idiHelp 3
  120. #define idiHelpTopics 3
  121. #define idiHelpNext 4
  122. #define idiHelpPrev 5
  123. #define idiHelpName 6
  124. #define idiMemFree 7
  125. #define idiHelpScroll 8
  126. #define idiBMrgLeft 3
  127. #define idiBMrgRight 4
  128. #define idiBMrgTop 5
  129. #define idiBMrgBottom 6
  130. #define idiConvertPrompt 99
  131. #ifdef JAPAN // added 09 Jun. 1992 by Hiraisi
  132. #define idiChangeFont 101
  133. #endif
  134. /* Dialog Box ID's (substitite for Template Name strings) */
  135. #define dlgOpen 1
  136. #define dlgSaveAs 2
  137. /* #define dlgSaveScrap 3 */
  138. /* dlgWordCvt takes the position of the commented out Save Scrap box */
  139. #define dlgWordCvt 3
  140. #define dlgHelp 4
  141. #define dlgHelpInner 22
  142. #define dlgPrint 5
  143. #define dlgCancelPrint 6
  144. #define dlgRepaginate 7
  145. #define dlgCancelRepage 8
  146. #define dlgSetPage 9
  147. #define dlgPageMark 10
  148. #define dlgPrinterSetup 11
  149. #define dlgFind 12
  150. #define dlgChange 13
  151. #define dlgGoTo 14
  152. #define dlgCharFormats 15
  153. #define dlgParaFormats 16
  154. #define dlgRunningHead 17
  155. #define dlgFooter 18
  156. #define dlgTabs 19
  157. #define dlgDivision 20
  158. #define dlgBadMargins 21
  159. #ifdef JAPAN // added 09 Jun. 1992 by Hiraisi
  160. #define dlgChangeFont 23
  161. #endif