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.

678 lines
26 KiB

  1. /* This is the source file for the resource file for Windows Write. The
  2. resource file is generated by running this file through the resouce compiler
  3. RC.EXE. */
  4. /*#define INTL International version */
  5. #define KANJI /* Kanji version */
  6. #define KINTL /* Kanji/International version */
  7. #define NOGDICAPMASKS
  8. #define NOWINMESSAGES
  9. #define NOSYSMETRICS
  10. #define NOICON
  11. #define NOKEYSTATE
  12. #define NOSYSCOMMANDS
  13. #define NOSHOWWINDOW
  14. #define NOATOM
  15. #define NOGDI
  16. #define NOFONT
  17. #define NOBRUSH
  18. #define NOCLIPBOARD
  19. #define NOCOLOR
  20. #define NOCREATESTRUCT
  21. #define NODRAWTEXT
  22. #define NOMB
  23. #define NOMEMMGR
  24. #define NOMETAFILE
  25. #define NOMINMAX
  26. #define NOOPENFILE
  27. #define NOPEN
  28. #define NOREGION
  29. #define NOSCROLL
  30. #define NOSOUND
  31. #define NOTEXTMETRIC
  32. #define NOWH
  33. #define NOWINOFFSETS
  34. #define NOWNDCLASS
  35. #define NOCOMM
  36. #include <windows.h>
  37. #include "menudefs.h"
  38. #include "dlgdefs.h"
  39. #include "str.h"
  40. #include "kanji.h"
  41. #define DI_QUESTION 32514 /* have to match windows.h MAKEINTRESOURCE(n) */
  42. #define DI_EXCLAMATION 32515 /* have to match windows.h MAKEINTRESOURCE(n) */
  43. kanji 0x81, 0x9f, 0xe0, 0xfc
  44. STRINGTABLE
  45. BEGIN
  46. IDS_MERGE1 "%%" /* relocatable message symbol */
  47. /* Menu and Undo strings */
  48. /* WARNING: The length of the longest UNDO string is kept as a constant
  49. in str.h. This constant must be updated along with the strings */
  50. IDSTRUndoBase, "������"
  51. IDSTRUndoEdit, " - �ҏW"
  52. IDSTRUndoLook, " - ����"
  53. IDSTRUndoTyping," - ��������"
  54. IDSTRShowRuler, "���[���[�\��"
  55. IDSTRHideRuler, "���[���[����"
  56. #ifdef ONLINEHELP
  57. IDSTRAbout, "�v���t�B�[��\tF1"
  58. #else /* not ONLINEHELP */
  59. IDSTRAbout, "�v���t�B�[��"
  60. #endif /* not ONLINEHELP */
  61. /* File names */
  62. IDSTRHELPF,"WRITE.HLP"
  63. /* Search/Change strings */
  64. IDSTRChangeSel,"�w���͈͈ꊇ�u��"
  65. IDSTRChangeAll,"�ꊇ�u��"
  66. /* String for "(page)" and "Page nnnn" */
  67. IDSTRChPage,"�y�[�W"
  68. IDSTROn, " on "
  69. IDSTRReplaceFile, "�����̃t�@�C���ƒu�������܂���"
  70. IDSTRChars, " ����"
  71. IDSTRSearching, "������"
  72. /***** FOLLOWING MESSAGES ARE "*" LEVEL MESSAGES */
  73. IDPMTSearchDone, "�����͏I�����܂���"
  74. IDPMTNotFound, "�����񂪌��‚����܂���"
  75. IDPMTNoReplace, "�ύX�����܂����ł���"
  76. IDPMTCancelSearch, "�����͎����������܂���"
  77. IDPMTDelPicture, "�}�`�͍폜�����܂�"
  78. /***** FOLLOWING MESSAGES ARE "?" LEVEL MESSAGES */
  79. IDPMTAddFont "�t�H���g���lj����܂���"
  80. IDPMTTruncateSz,"�����񂪒������܂� - �擪��255�����Ō������܂���"
  81. /***** FOLLOWING MESSAGES ARE "!" LEVEL MESSAGES */
  82. IDPMTBadFile, "���������C�g�̕����ł͂����܂���"
  83. IDPMTCantOpen, "���������‚����܂���"
  84. IDPMTDirtyDoc, "%% �͏C�������܂��� - �Z�[�u���܂���"
  85. IDPMTCantRunM, "���C�g�����s�����̂ɏ\���ȃ������������܂���"
  86. IDPMTCantRunD, "���C�g�����s�����̂ɏ\���ȃf�B�X�N�e�ʂ������܂���"
  87. IDPMTCantRunF, "���C�g�����s�ł��܂��� - �ꎞ�I�ȃt�@�C���͍쐬�ł��܂���"
  88. IDPMTNoPath, "�f�B���N�g���������܂���"
  89. IDPMTNoAvail, "���̃t�@�C���͎g�p�ł��܂���"
  90. IDPMTReadOnly, "�������݋֎~�t�@�C���ł� - �Ⴄ���O�ŃZ�[�u���Ă�������"
  91. /* Dialog field errors */
  92. IDPMTNoPage, "�w�肳�ꂽ�y�[�W�������܂���"
  93. IDPMTNOTNUM, "���l�������������܂���"
  94. IDPMTBFS, "4 ���� 127 �܂ł̐��l���g�p���Ă�������"
  95. IDPMTNPI, "1 ���� 32767 �܂ł̐��l���g�p���Ă�������"
  96. IDPMTNOTDXA, "���l�������������܂���"
  97. IDPMTNPDXA, "0 �ȏ��̐��l���g�p���Ă�������"
  98. IDPMTMTL, "�}�[�W�����傫�����܂�"
  99. IDPMTBadFilename,"�t�@�C�����������������܂���"
  100. IDPMT2Complex, "�����̐ݒ��ɖ����������܂�"
  101. IDPMTBadMove, "���̈ʒu�Ƀe�L�X�g���ړ����邱�Ƃ͂ł��܂���"
  102. IDPMTNoHelpFile,"�w���v�t�@�C���������������܂���"
  103. IDPMTDFULL, "�f�B�X�N�������ς��ł� - ���̃f�B�X�N�ɃZ�[�u���Ă�������"
  104. IDPMTPRFAIL, "���y�[�W�^���������̂ɏ\���ȃ������������܂���"
  105. IDPMTWPR, "�������݋֎~�f�B�X�N�ł� - �v���e�N�g�V�[���𔍂��Ă�������"
  106. IDPMTDRFULL, "�f�B���N�g���������ς��ł� - ���̃f�B�X�N���g�p���Ă�������"
  107. IDPMTClipLarge, "�N���b�v�{�[�h���g�p�����̂ɏ\���ȃ������������܂���"
  108. IDPMTClipQuest, "�N���b�v�{�[�h���������߂܂���"
  109. IDPMTBadPrinter,"�v�����^�G���["
  110. IDPMTCantPrint, "�����ł��܂���"
  111. IDPMTRenameFail,"%% ���u�����������܂���"
  112. IDPMTPrPictErr, "�}�`�������ɃG���[�������܂��� - �}�`�͖��������܂���"
  113. IDPMTPrDiskErr, "���������������̂ɏ\���ȃf�B�X�N�e�ʂ������܂���"
  114. #ifdef KANJI
  115. IDPMTLargePaste, "�\�t���ł��܂��� - �N���b�v�{�[�h���傫�����܂�"
  116. IDPMTLongEdit, "�������Z�[�u����������"
  117. #endif /*KANJI*/
  118. /***** FOLLOWING MESSAGES ARE "<hand>" LEVEL MESSAGES */
  119. IDPMTSDE, "�f�B�X�N�G���[�������܂���"
  120. /* IDPMTSDN, "Unrecoverable disk error on file:" */
  121. IDPMTNoMemory, "�\���ȃ������������܂��� - �������Z�[�u���Ă�������"
  122. IDPMTSFER, "���s���Ԃ��������܂� - ���x�Z�[�u���C�I�����Ă�������"
  123. IDPMTWinFailure,"�\���ȃ������������܂��� - �A�v���P�[�V�������I�����Ă�������"
  124. END
  125. /* Windows WRITE accelerator table */
  126. /* WARNING: The Accelerator table is duplicated in a switch statement in
  127. cmd.c. If the accelerator table is changed, the switch statement must
  128. be changed */
  129. mw_acctb ACCELERATORS
  130. BEGIN
  131. #ifdef ONLINEHELP
  132. VK_F1, imiHelp, VIRTKEY
  133. #endif /* ONLINEHELP */
  134. #ifdef KANJI
  135. VK_COPY, imiCopy, VIRTKEY
  136. #else
  137. VK_F2, imiCopy, VIRTKEY
  138. #endif
  139. VK_F3, imiFindAgain, VIRTKEY
  140. VK_F4, imiGoTo, VIRTKEY
  141. VK_F5, imiCharNormal, VIRTKEY
  142. VK_F6, imiBold, VIRTKEY
  143. VK_F7, imiItalic, VIRTKEY
  144. VK_F8, imiUnderline, VIRTKEY
  145. VK_F9, imiSmFont, VIRTKEY
  146. VK_F10, imiLgFont, VIRTKEY
  147. END
  148. /* Windows WRITE Icon */
  149. mw_icon ICON write.ico
  150. /* Windows WRITE Cursors */
  151. mwlores CURSOR mwlores.cur
  152. mwhires CURSOR mwhires.cur
  153. pmscur CURSOR pmscur.cur
  154. /* Windows WRITE Bitmaps */
  155. rbutton BITMAP rbutton.bmp
  156. rmark BITMAP rmark.bmp
  157. /* Windows WRITE Command Menu */
  158. mw_menu MENU
  159. begin
  160. popup "�t�@�C��"
  161. begin
  162. menuitem "�V�K", imiNew
  163. menuitem "�I�[�v��", imiOpen
  164. menuitem "�Z�[�u", imiSave
  165. menuitem SEPARATOR
  166. menuitem "����", imiPrint
  167. menuitem "�v�����^�ݒ�", imiPrintSetup
  168. menuitem "���y�[�W�ݒ�", imiRepaginate
  169. end
  170. popup "�ҏW"
  171. begin
  172. menuitem "������\tSh Esc", imiUndo
  173. menuitem SEPARATOR
  174. menuitem "�؎���\tDel", imiCut
  175. #ifdef NONECKEYBOARD
  176. menuitem "����\tF2", imiCopy
  177. #else
  178. menuitem "����\tCopy", imiCopy
  179. #endif
  180. menuitem "�\�t��\tIns", imiPaste
  181. menuitem SEPARATOR
  182. menuitem "�}�`�ړ�", imiMovePicture
  183. menuitem "�}�`�g���^�k��", imiSizePicture
  184. end
  185. popup "����"
  186. begin
  187. menuitem "����", imiFind
  188. menuitem "��������\tF3", imiFindAgain
  189. menuitem "�u��", imiChange
  190. menuitem SEPARATOR
  191. menuitem "�y�[�W�w��\tF4", imiGoTo
  192. end
  193. popup "����"
  194. begin
  195. menuitem "�m�[�}��\tF5", imiCharNormal
  196. menuitem SEPARATOR
  197. menuitem "�{�[���h\tF6", imiBold
  198. menuitem "�C�^���b�N\tF7", imiItalic
  199. menuitem "�A���_�[���C��\tF8", imiUnderline
  200. menuitem "���t������", imiSuper
  201. menuitem "���t������", imiSub
  202. menuitem SEPARATOR
  203. menuitem "", imiFont1
  204. menuitem "", imiFont2
  205. menuitem "", imiFont3
  206. menuitem SEPARATOR
  207. menuitem "�t�H���g�k��\tF9", imiSmFont
  208. menuitem "�t�H���g�g��\tF10", imiLgFont
  209. menuitem SEPARATOR
  210. menuitem "�t�H���g�I��", imiCharFormats
  211. end
  212. popup "�i��"
  213. begin
  214. menuitem "�W��", imiParaNormal
  215. menuitem SEPARATOR
  216. menuitem "������", imiLeft
  217. menuitem "�Z���^�����O", imiCenter
  218. menuitem "�E����", imiRight
  219. #ifndef KANJI
  220. menuitem "�s������", imiJustified
  221. #endif /* ifdef KANJI */
  222. menuitem SEPARATOR
  223. menuitem "�s�� 1", imiSingleSpace
  224. menuitem "�s�� 1.5", imiOneandhalfSpace
  225. menuitem "�s�� 2", imiDoubleSpace
  226. menuitem SEPARATOR
  227. menuitem "�C���f���g", imiParaFormats
  228. end
  229. popup "���̑�"
  230. begin
  231. menuitem "�w�b�_�[", imiHeader
  232. menuitem "�t�b�^�[", imiFooter
  233. menuitem SEPARATOR
  234. menuitem "���[���[�\��", imiShowRuler
  235. menuitem "�^�u�ݒ�", imiTabs
  236. menuitem SEPARATOR
  237. menuitem "�y�[�W���C�A�E�g", imiDivFormats
  238. end
  239. end
  240. /* Windows Word Dialog Boxes */
  241. #define WS_TABONLY (WS_TABSTOP | WS_GROUP) /* only tab can get to the item */
  242. dlgOpen DIALOG 30, 40, 168, 95
  243. STYLE WS_DLGFRAME | WS_POPUP
  244. begin
  245. rtext "�t�@�C����",idiNil, 4, 7, 40, 12
  246. edittext idiOpenFile, 48, 5,110, 12, WS_TABSTOP | ES_AUTOHSCROLL
  247. listbox idiOpenLB, 6, 25, 70, 64, LBS_NOTIFY | WS_VSCROLL | WS_BORDER | WS_VISIBLE | WS_TABSTOP
  248. ctext "", idiOpenDir, 80, 25, 76, 12
  249. defpushbutton "�I�[�v��", idiOk, 97, 44, 50, 14, WS_TABONLY
  250. pushbutton "������", idiCancel, 97, 66, 50, 14, WS_TABONLY
  251. end
  252. #ifdef INTL /* International version */
  253. dlgSaveAs DIALOG 30, 40, 210, 70
  254. #else
  255. dlgSaveAs DIALOG 30, 40, 210, 53
  256. #endif /* International version */
  257. STYLE WS_DLGFRAME | WS_POPUP
  258. begin
  259. ltext "�t�@�C����", idiNil, 5, 5,110, 10
  260. edittext idiSavFile, 5, 17, 122, 12, WS_TABSTOP | ES_AUTOHSCROLL
  261. control "", idiSavDir, static, WS_VISIBLE | SS_CENTER, 129, 5, 76, 12
  262. checkbox "�o�b�N�A�b�v", idiSavBackup, 5, 35, 60, 12, WS_TABONLY
  263. checkbox "�e�L�X�g", idiSavTextOnly, 72, 35, 52, 12, WS_TABONLY
  264. #ifdef INTL /* International version */
  265. checkbox "�}�C�N���\�t�g�E���[�h�E�f�[�^Microsoft Word Format", idiSavWordFmt, 70, 52, 100, 12, WS_TABONLY
  266. #endif /* International version */
  267. defpushbutton "�Z�[�u", idiOk, 151, 17, 50, 14, WS_TABONLY
  268. pushbutton "������", idiCancel, 151, 34, 50, 14, WS_TABONLY
  269. end
  270. /* note this may be a child of dlgOpen, so its start is based on its parent */
  271. dlgWordCvt DIALOG 02, 05, 171, 54
  272. STYLE WS_DLGFRAME | WS_POPUP
  273. begin
  274. ltext "���[�h�̏��������C�g��", idiNil, 5, 5,138, 12
  275. ltext "�����ɕϊ����܂�", idiNil, 5, 13,138, 12
  276. defpushbutton "�ϊ�", idiOk, 100, 5, 48, 14, WS_TABONLY
  277. pushbutton "���ϊ�", idiNo, 100, 20, 65, 14, WS_TABONLY
  278. pushbutton "������", idiCancel, 100, 35, 40, 14, WS_TABONLY
  279. end
  280. /* By popular demand, this dialog box bites the dust
  281. dlgSaveScrap DIALOG 66, 63, 192, 60
  282. STYLE WS_BORDER | WS_POPUP | WS_CAPTION
  283. CAPTION "���C�g"
  284. begin
  285. icon DI_QUESTION, idiNil, 5, 5, 0, 0
  286. ctext "Large Clipboard", idiNil, 30, 12, 90, 12
  287. defpushbutton "Save", idiOk, 18, 35, 40, 14, WS_TABONLY
  288. pushbutton "Discard", idiNo, 76, 35, 40, 14, WS_TABONLY
  289. pushbutton "Cancel", idiCancel,134, 35, 40, 14, WS_TABONLY
  290. end
  291. */
  292. #ifdef ONLINEHELP
  293. dlgHelp DIALOG 30, 20, 280, 120
  294. style WS_POPUP | WS_DLGFRAME | WS_VISIBLE
  295. begin
  296. ltext "Windows Write V0.53", idiNil, 180, 10, 90, 12
  297. ltext "June 19, 1985", idiNil, 180, 20, 90, 12
  298. ltext "", idiMemFree, 180, 30, 16, 12
  299. ltext "% free memory", idiNil, 200, 30, 70, 12
  300. listbox idiHelp, 5, 5, 160, 112, LBS_NOTIFY | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP | WS_BORDER
  301. defpushbutton "Help", idiOk, 180, 90, 40, 14, WS_TABONLY
  302. pushbutton "Cancel", idiCancel,230, 90, 40, 14, WS_TABONLY
  303. end
  304. /* The real size of this dialog box and its children is calculated in help. c */
  305. dlgHelpInner DIALOG 30, 40, 110, 80
  306. style WS_POPUP | WS_BORDER | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  307. caption "About Windows Write"
  308. begin
  309. ltext "", idiHelpName, 5, 5, 1, 1
  310. control "", idiHelpScroll, "ScrollBar", WS_TABONLY | SBS_VERT,1,1,1,1
  311. defpushbutton "Topics", idiHelpTopics, 1, 1, 1, 1, WS_TABONLY
  312. pushbutton "Next", idiHelpNext, 2, 2, 1, 1, WS_TABONLY
  313. pushbutton "Previous", idiHelpPrev, 3, 3, 1, 1, WS_TABONLY
  314. pushbutton "Cancel", idiCancel, 4, 4, 1, 1, WS_TABONLY
  315. end
  316. #else
  317. dlgHelp DIALOG 20, 17, 160, 75
  318. style WS_POPUP | WS_DLGFRAME
  319. begin
  320. ctext "�}�C�N���\�t�g�E�E�B���h�E�Y", idiNil, 0, 5,160, 8
  321. icon "mw_icon", idiNil, 9, 23, 0, 0
  322. ctext "���C�g", idiNil, 30, 17,100, 8
  323. ctext "Version 1.03 Kanji", idiNil, 30, 34,100, 8
  324. ctext "Copyright (C) 1985 Microsoft Corp." idiNil, 0, 47, 150, 8
  325. defpushbutton "�m�F", idiOk, 61, 59, 32, 14, WS_TABONLY
  326. end
  327. #endif
  328. dlgPrint DIALOG 17, 50, 130, 77
  329. STYLE WS_POPUP | WS_DLGFRAME
  330. begin
  331. ltext "����", idiNil, 5, 7, 16, 12
  332. edittext idiPrtCopies, 25, 5, 30, 12, WS_TABSTOP | ES_AUTOHSCROLL
  333. checkbox "�e�X�g����", idiPrtDraft, 5, 20, 74, 12, WS_TABONLY
  334. ltext "�����y�[�W", idiNil, 5, 37, 40, 12
  335. radiobutton "�S��", idiPrtAll, 10, 47, 50, 12, WS_TABSTOP | WS_GROUP
  336. radiobutton "", idiPrtFrom, 10, 60, 10, 12
  337. edittext idiPrtPageFrom, 22, 61, 30, 12, WS_TABONLY | ES_AUTOHSCROLL
  338. ltext "����", idiNil, 54, 63, 16, 12
  339. ltext "�܂�", idiNil, 106, 63, 16, 12
  340. edittext idiPrtPageTo, 74, 61, 30, 12, WS_TABONLY | ES_AUTOHSCROLL
  341. defpushbutton "�m�F", idiOk, 85, 5, 40, 14, WS_TABONLY
  342. pushbutton "������", idiCancel, 85, 25, 40, 14, WS_TABONLY
  343. end
  344. dlgCancelPrint DIALOG 15, 50, 134, 52
  345. STYLE WS_BORDER | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
  346. CAPTION "����"
  347. begin
  348. ctext "�v�����^�ɕ�����", idiNil, 5, 5,124, 8
  349. ctext "�����Ă��܂�", idiNil, 5, 15,124, 8
  350. defpushbutton "������", idiCancel, 47, 30, 40, 14, WS_TABONLY
  351. end
  352. dlgRepaginate DIALOG 90, 100, 139, 45
  353. STYLE WS_DLGFRAME | WS_POPUP
  354. begin
  355. ltext "���y�[�W�ݒ�", idiNil, 5, 9, 48, 12
  356. checkbox "�y�[�W���b�N����",idiRepageConfirm, 5, 25, 80, 12, WS_TABONLY
  357. defpushbutton "�m�F", idiOk, 94, 5, 40, 14, WS_TABONLY
  358. pushbutton "������", idiCancel, 94, 25, 40, 14, WS_TABONLY
  359. end
  360. dlgCancelRepage DIALOG 15, 50, 94, 50
  361. STYLE WS_POPUP | WS_BORDER | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
  362. CAPTION "���y�[�W�ݒ�"
  363. begin
  364. ctext "���y�[�W�ʒu��", idiNil, 7, 5, 80, 8
  365. ctext "�ݒ肵�Ă��܂�", idiNil, 7, 14, 80, 8
  366. defpushbutton "������", idiCancel,27, 28, 40, 14, WS_TABONLY
  367. end
  368. dlgSetPage DIALOG 80, 120, 205, 50
  369. STYLE WS_POPUP | WS_BORDER | WS_CAPTION | WS_SYSMENU
  370. CAPTION "���y�[�W�Đݒ�"
  371. begin
  372. ltext "���y�[�W�ʒu���ύX�����ɂ�", idiNil, 5, 9,104, 8
  373. ltext "�����������C�����������L�[", idiNil, 5, 21,104, 8
  374. ltext "���g�p����������", idiNil, 5, 33, 72, 8
  375. pushbutton "������", idiRepUp, 115, 8, 40, 14, WS_TABONLY
  376. pushbutton "������", idiRepDown, 115, 28, 40, 14, WS_TABONLY
  377. defpushbutton "�m�F", idiOk, 160, 8, 40, 14, WS_TABONLY
  378. pushbutton "������", idiCancel, 160, 28, 40, 14, WS_TABONLY
  379. end
  380. dlgPageMark DIALOG 90, 100, 135, 58
  381. STYLE WS_POPUP | WS_BORDER | WS_CAPTION | WS_SYSMENU
  382. CAPTION "���y�[�W�Đݒ�"
  383. begin
  384. icon DI_QUESTION, idiNil, 5, 5, 0, 0
  385. ctext "���y�[�W�ʒu���ύX���܂���", idiNil, 25, 7,105, 12
  386. /* ltext "this existing page break?", idiNil, 30, 19,100, 12 */
  387. pushbutton "������", idiCancel, 7, 35, 35, 14, WS_TABONLY
  388. defpushbutton "���y�[�W", idiKeepPgMark, 49, 35, 35, 14, WS_TABONLY
  389. pushbutton "�ύX", idiRemovePgMark,91, 35, 35, 14, WS_TABONLY
  390. end
  391. dlgPrinterSetup DIALOG 30, 40, 190, 80
  392. STYLE WS_DLGFRAME | WS_POPUP | WS_VISIBLE
  393. begin
  394. ltext "�v�����^�ݒ�", idiNil, 5, 5, 70, 12
  395. listbox idiPrterName, 5, 20,132, 56, LBS_STANDARD | WS_VISIBLE | WS_TABONLY
  396. defpushbutton "�m�F", idiOk, 145, 20, 40, 14, WS_TABONLY
  397. pushbutton "������", idiCancel, 145, 50, 40, 14, WS_TABONLY
  398. end
  399. #ifdef KANJI
  400. dlgFind DIALOG 40, 180, 200, 40
  401. #else
  402. dlgFind DIALOG 40, 165, 200, 55
  403. #endif /* if-else-def KANJI */
  404. STYLE WS_POPUP | WS_BORDER | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
  405. CAPTION "����"
  406. begin
  407. ltext "����������:", idiNil, 5, 7, 45, 12
  408. edittext idiFind, 50, 5, 140, 12, WS_TABSTOP | ES_AUTOHSCROLL
  409. #ifdef KANJI
  410. defpushbutton "������", idiFindNext, 70, 20, 60, 14, WS_TABONLY
  411. #else
  412. checkbox "Whole Word", idiWholeWord, 5, 20, 60, 12, WS_TABONLY
  413. checkbox "Match Upper/Lowercase", idiMatchCase, 100, 20, 95, 12, WS_TABONLY
  414. defpushbutton "Find Next", idiFindNext, 70, 35, 60, 14, WS_TABONLY
  415. #endif /* if-else-def KANJI */
  416. end
  417. #ifdef KANJI
  418. dlgChange DIALOG 60, 165, 249, 55
  419. #else
  420. dlgChange DIALOG 60, 150, 249, 70
  421. #endif /* if-else-def KANJI */
  422. STYLE WS_POPUP | WS_BORDER | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
  423. CAPTION "�u��"
  424. begin
  425. ltext "�u���O:", idiNil, 9, 7, 30, 12
  426. edittext idiFind, 42, 5,180, 12, WS_TABSTOP | ES_AUTOHSCROLL
  427. ltext "�u����:", idiNil, 9, 22, 30, 12
  428. edittext idiChangeTo, 42, 20,180, 12, WS_TABSTOP | ES_AUTOHSCROLL
  429. #ifdef KANJI
  430. defpushbutton "������", idiFindNext, 5, 35, 44, 14, WS_TABONLY
  431. pushbutton "�u�� - ������", idiChangeThenFind, 54, 35, 76, 14, WS_TABONLY
  432. pushbutton "�u��", idiChange, 135, 35, 32, 14, WS_TABONLY
  433. pushbutton " �ꊇ�u�� ",idiChangeAll, 172, 35, 72, 14, WS_TABONLY
  434. #else
  435. checkbox "Whole Word", idiWholeWord, 5, 35, 60, 12, WS_TABONLY
  436. checkbox "Match Upper/Lowercase",idiMatchCase,100, 35,195, 12, WS_TABONLY
  437. defpushbutton "������", idiFindNext, 5, 50, 44, 14, WS_TABONLY
  438. pushbutton "Change, then Find",idiChangeThenFind,54, 50, 76, 14, WS_TABONLY
  439. pushbutton "Change", idiChange, 135, 50, 32, 14, WS_TABONLY
  440. pushbutton " Change All ", idiChangeAll,172, 50, 72, 14, WS_TABONLY
  441. #endif /* if-else-def KANJI */
  442. end
  443. dlgGoTo DIALOG 87, 63, 95, 40
  444. STYLE WS_POPUP | WS_DLGFRAME
  445. begin
  446. ltext "�y�[�W�ԍ�:", idiNil, 5, 7, 50, 12
  447. edittext idiGtoPage, 54, 5, 32, 12, WS_TABSTOP | ES_AUTOHSCROLL
  448. defpushbutton "�m�F", idiOk, 5, 22, 40, 14, WS_TABONLY
  449. pushbutton "������", idiCancel, 50, 22, 40, 14, WS_TABONLY
  450. end
  451. dlgCharFormats DIALOG 80, 36, 180, 88
  452. STYLE WS_POPUP | WS_BORDER | WS_CAPTION | WS_SYSMENU
  453. CAPTION "�t�H���g"
  454. begin
  455. ltext "�t�H���g��", idiNil, 5, 5, 45, 12
  456. edittext idiChrFontName, 5, 16,125, 12, WS_TABSTOP | ES_AUTOHSCROLL
  457. listbox idiChrLBFontName, 5, 35,105, 48, LBS_STANDARD | WS_VISIBLE | WS_TABSTOP
  458. listbox idiChrLBFontSize, 115, 43, 24, 40, LBS_STANDARD | WS_VISIBLE | WS_TABSTOP
  459. ltext "�t�H���g",idiNil, 144, 49, 32, 10
  460. ltext "�T�C�Y", idiNil, 144, 59, 32, 12
  461. edittext idiChrFontSize, 144, 71, 30, 12, WS_TABSTOP | ES_AUTOHSCROLL
  462. defpushbutton "�m�F", idiOk, 135, 5, 40, 14, WS_TABONLY
  463. pushbutton "������",idiCancel,135, 25, 40, 14, WS_TABONLY
  464. end
  465. dlgParaFormats DIALOG 28, 36, 126, 52
  466. STYLE WS_POPUP | WS_BORDER | WS_CAPTION | WS_SYSMENU
  467. CAPTION "�C���f���g"
  468. begin
  469. ltext "���[", idiNil, 7, 7, 20, 12
  470. edittext idiParLfIndent, 32, 5, 40, 12, WS_TABSTOP | ES_AUTOHSCROLL
  471. ltext "���[", idiNil, 7, 22, 20, 12
  472. edittext idiParFirst, 32, 20, 40, 12, WS_TABSTOP | ES_AUTOHSCROLL
  473. ltext "�E�[", idiNil, 7, 37, 20, 12
  474. edittext idiParRtIndent, 32, 35, 40, 12, WS_TABSTOP | ES_AUTOHSCROLL
  475. defpushbutton "�m�F",idiOk, 81, 8, 40, 14, WS_TABONLY
  476. pushbutton "������",idiCancel,81, 27, 40, 14, WS_TABONLY
  477. end
  478. dlgRunningHead DIALOG 80, 110, 176, 42
  479. STYLE WS_POPUP | WS_CAPTION | WS_BORDER | WS_SYSMENU | WS_VISIBLE
  480. CAPTION "�w�b�_�["
  481. begin
  482. ltext "�㕔�]��", idiNil, 12, 7, 32, 12
  483. edittext idiRHDx, 46, 5, 30, 12, WS_TABSTOP | ES_AUTOHSCROLL
  484. checkbox "�P�y�[�W�ڂɈ���",idiRHFirst, 90, 5, 90, 12, WS_TABONLY
  485. pushbutton "�y�[�W�ԍ�����", idiRHInsertPage, 13, 22, 64, 14, WS_TABONLY
  486. pushbutton "����", idiRHClear, 89, 22, 30, 14, WS_TABONLY
  487. defpushbutton "�m�F", idiOk, 131, 22, 30, 14, WS_TABONLY
  488. end
  489. dlgFooter DIALOG 80, 110, 176, 42
  490. STYLE WS_POPUP | WS_CAPTION | WS_BORDER | WS_SYSMENU | WS_VISIBLE
  491. CAPTION "�t�b�^�["
  492. begin
  493. ltext "�����]��", idiNil, 12, 7, 32, 12
  494. edittext idiRHDx, 46, 5, 30, 12, WS_TABSTOP | ES_AUTOHSCROLL
  495. checkbox "�P�y�[�W�ڂɈ���",idiRHFirst, 90, 5, 90, 12, WS_TABONLY
  496. pushbutton "�y�[�W�ԍ�����", idiRHInsertPage, 12, 22, 64, 14, WS_TABONLY
  497. pushbutton "����", idiRHClear, 89, 22, 30, 14, WS_TABONLY
  498. defpushbutton "�m�F", idiOk, 131, 22, 30, 14, WS_TABONLY
  499. end
  500. dlgTabs DIALOG 26, 41, 278, 97
  501. STYLE WS_POPUP | WS_BORDER | WS_CAPTION | WS_SYSMENU
  502. CAPTION "�^�u"
  503. begin
  504. ltext "�^�u�ʒu", idiNil, 3, 7, 40, 12
  505. ltext "�^�u�ʒu", idiNil, 3, 42, 40, 12
  506. ltext "�f�V�}��", idiNil, 3, 22, 40, 12
  507. ltext "�f�V�}��", idiNil, 3, 57, 40, 12
  508. edittext idiTabPos0, 45, 5, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  509. checkbox ".", idiTabDec0, 51, 20, 18, 12, WS_TABONLY
  510. edittext idiTabPos1, 83, 5, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  511. checkbox ".", idiTabDec1, 89, 20, 18, 12, WS_TABONLY
  512. edittext idiTabPos2, 121, 5, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  513. checkbox ".", idiTabDec2, 127, 20, 18, 12, WS_TABONLY
  514. edittext idiTabPos3, 159, 5, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  515. checkbox ".", idiTabDec3, 165, 20, 18, 12, WS_TABONLY
  516. edittext idiTabPos4, 197, 5, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  517. checkbox ".", idiTabDec4, 203, 20, 18, 12, WS_TABONLY
  518. edittext idiTabPos5, 235, 5, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  519. checkbox ".", idiTabDec5, 241, 20, 18, 12, WS_TABONLY
  520. edittext idiTabPos6, 45, 40, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  521. checkbox ".", idiTabDec6, 51, 55, 18, 12, WS_TABONLY
  522. edittext idiTabPos7, 83, 40, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  523. checkbox ".", idiTabDec7, 89, 55, 18, 12, WS_TABONLY
  524. edittext idiTabPos8, 121, 40, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  525. checkbox ".", idiTabDec8, 127, 55, 18, 12, WS_TABONLY
  526. edittext idiTabPos9, 159, 40, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  527. checkbox ".", idiTabDec9, 165, 55, 18, 12, WS_TABONLY
  528. edittext idiTabPos0, 197, 40, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  529. checkbox ".", idiTabDec10,203, 55, 18, 12, WS_TABONLY
  530. edittext idiTabPos11, 235, 40, 38, 12, WS_TABONLY | ES_AUTOHSCROLL
  531. checkbox ".", idiTabDec11,241, 55, 18, 12, WS_TABONLY
  532. defpushbutton "�m�F", idiOk, 44, 75, 50, 14, WS_TABONLY
  533. pushbutton "������", idiCancel, 114, 75, 50, 14, WS_TABONLY
  534. pushbutton "�N���A", idiTabClearAll, 184, 75, 50, 14, WS_TABONLY
  535. end
  536. #ifdef KINTL /* Kanji/International version */
  537. dlgDivision DIALOG 26, 10, 126, 128
  538. #else
  539. dlgDivision DIALOG 26, 20, 160, 90
  540. #endif /* International version */
  541. STYLE WS_POPUP | WS_DLGFRAME
  542. begin
  543. ltext "�y�[�W�ԍ������l", idiNil, 8, 7, 64, 12
  544. edittext idiDivPNStart, 82, 5, 40, 12, WS_TABSTOP | ES_AUTOHSCROLL
  545. groupbox "�}�[�W��", idiNil, 4, 25, 72, 75
  546. ltext "����", idiNil, 10, 40, 16, 12
  547. edittext idiDivLMarg, 30, 38, 40, 12, WS_TABSTOP | ES_AUTOHSCROLL
  548. ltext "�E��", idiNil, 10, 54, 16, 12
  549. edittext idiDivRMarg, 30, 52, 40, 12, WS_TABSTOP | ES_AUTOHSCROLL
  550. ltext "�㕔", idiNil, 10, 68, 16, 12
  551. edittext idiDivTMarg, 30, 66, 40, 12, WS_TABSTOP | ES_AUTOHSCROLL
  552. ltext "����", idiNil, 10, 82, 16, 12
  553. edittext idiDivBMarg, 30, 80, 40, 12, WS_TABSTOP | ES_AUTOHSCROLL
  554. #ifdef INTL /* International version */
  555. ltext "Measurements:", idiNil, 5, 84, 63, 12
  556. radiobutton "inch", idiDivInch, 12, 94, 27, 12, WS_TABSTOP | WS_GROUP
  557. radiobutton "cm", idiDivCm, 44, 94, 26, 12
  558. #endif /* International version */
  559. #ifdef KANJI /* Kanji version */
  560. groupbox "�P��", idiNil, 82, 25, 40, 75
  561. radiobutton "����", idiDivCch, 88, 40, 27, 12, WS_TABSTOP | WS_GROUP
  562. radiobutton "cm", idiDivCm, 88, 54, 19, 12
  563. radiobutton "inch", idiDivInch, 88, 68, 27, 12
  564. #endif /* ifdef KANJI */
  565. defpushbutton "�m�F", idiOk, 19,107, 40, 14, WS_TABONLY
  566. pushbutton "������", idiCancel, 70,107, 40, 14, WS_TABONLY
  567. end
  568. dlgBadMargins DIALOG 50, 20, 235, 65
  569. STYLE WS_POPUP | WS_BORDER | WS_CAPTION
  570. CAPTION "�}�[�W��"
  571. begin
  572. icon DI_EXCLAMATION, idiNil, 5, 5, 0, 0
  573. ltext "�}�[�W���͈ȉ��̒l�����傫�����l���g�p���Ă�������", idiNil, 30, 5, 200, 12
  574. ltext "����", idiNil, 30, 17, 20, 12
  575. ltext "", idiBMrgLeft, 60, 17, 40, 12
  576. ltext "�E��", idiNil, 130, 17, 24, 12
  577. ltext "", idiBMrgRight, 168, 17, 40, 12
  578. ltext "�㕔", idiNil, 30, 29, 16, 12
  579. ltext "", idiBMrgTop, 60, 29, 40, 12
  580. ltext "����", idiNil, 130, 29, 28, 12
  581. ltext "", idiBMrgBottom, 168, 29, 40, 12
  582. defpushbutton "�m�F", idiOk, 97, 44, 40, 14, WS_TABSTOP
  583. end