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.

92 lines
3.3 KiB

  1. /*************************************************************************
  2. **
  3. ** OLE 2.0 Sample Code
  4. **
  5. ** dialogs.dlg
  6. **
  7. ** Resource file for dialogs
  8. **
  9. ** (c) Copyright Microsoft Corp. 1992 - 1993 All Rights Reserved
  10. **
  11. *************************************************************************/
  12. ADDEDITLINE DIALOG 6, 18, 225, 53
  13. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  14. FONT 8, "MS Shell Dlg"
  15. BEGIN
  16. EDITTEXT IDD_EDIT, 5, 16, 212, 13, ES_AUTOHSCROLL
  17. LTEXT "Enter text for the line", -1, 5, 4, 72, 8
  18. PUSHBUTTON "Cancel", IDCANCEL, 177, 35, 40, 14
  19. DEFPUSHBUTTON "OK", IDOK, 5, 35, 40, 14
  20. END
  21. DEFINENAME DIALOG 6, 18, 160, 100
  22. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  23. CAPTION "Define Name"
  24. FONT 8, "MS Shell Dlg"
  25. BEGIN
  26. COMBOBOX IDD_COMBO, 5, 17, 98, 49, CBS_SIMPLE | CBS_AUTOHSCROLL |
  27. CBS_SORT | WS_VSCROLL | WS_TABSTOP
  28. DEFPUSHBUTTON "OK", IDOK, 114, 11, 40, 14
  29. PUSHBUTTON "Close", IDD_CLOSE, 114, 31, 40, 14
  30. PUSHBUTTON "Delete", IDD_DELETE, 114, 51, 40, 14
  31. LTEXT "Defined Names", -1, 5, 6, 57, 8
  32. LTEXT "Line Range : ", -1, 5, 76, 44, 8
  33. LTEXT "to", -1, 86, 76, 10, 8
  34. EDITTEXT IDD_FROM, 50, 75, 32, 12, ES_AUTOHSCROLL
  35. EDITTEXT IDD_TO, 99, 75, 32, 12, ES_AUTOHSCROLL
  36. END
  37. GOTONAME DIALOG 6, 18, 160, 93
  38. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  39. CAPTION "Goto Name"
  40. FONT 8, "MS Shell Dlg"
  41. BEGIN
  42. LISTBOX IDD_LINELISTBOX, 5, 18, 99, 49, LBS_SORT | WS_VSCROLL |
  43. WS_TABSTOP
  44. LTEXT "Goto:", -1, 5, 7, 20, 8
  45. DEFPUSHBUTTON "OK", IDOK, 115, 18, 40, 14
  46. PUSHBUTTON "Cancel", IDCANCEL, 115, 38, 40, 14
  47. LTEXT "Line Range : ", -1, 5, 79, 44, 8
  48. LTEXT "to", -1, 79, 79, 10, 8
  49. LTEXT "", IDD_FROM, 55, 79, 19, 8
  50. LTEXT "", IDD_TO, 93, 79, 20, 8
  51. END
  52. PRINT DIALOG 69, 41, 109, 48
  53. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  54. CAPTION "Outline"
  55. FONT 8, "MS Shell Dlg"
  56. BEGIN
  57. PUSHBUTTON "Cancel", IDCANCEL, 34, 28, 40, 14
  58. LTEXT "Printing...", -1, 17, 8, 72, 10
  59. END
  60. SETLINEHEIGHT DIALOG 52, 52, 160, 80
  61. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  62. CAPTION "Set Line Height"
  63. FONT 8, "MS Shell Dlg"
  64. BEGIN
  65. EDITTEXT IDD_EDIT, 34, 42, 50, 12, ES_AUTOHSCROLL
  66. LTEXT "Height:", IDD_TEXT, 6, 43, 28, 12
  67. CONTROL "Use Standard Height", IDD_CHECK, "Button",
  68. BS_AUTOCHECKBOX | WS_TABSTOP, 6, 64, 80, 10
  69. LTEXT "Enter Line Height (100 units = 1mm)", -1, 6, 10, 121,
  70. 10
  71. DEFPUSHBUTTON "OK", IDOK, 110, 40, 40, 14
  72. PUSHBUTTON "Cancel", IDCANCEL, 110, 62, 40, 14
  73. LTEXT "", IDD_LIMIT, 6, 24, 89, 8
  74. END
  75. ABOUT DIALOG DISCARDABLE 17, 21, 205, 138
  76. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  77. FONT 8, "MS Shell Dlg"
  78. BEGIN
  79. CTEXT "",IDD_APPTEXT,5,90,195,10
  80. DEFPUSHBUTTON "OK",IDOK,81,117,45,15
  81. CTEXT "Copyright \2511992 - 1993, Microsoft Corporation", -1,
  82. 25,103,156,8
  83. CONTROL "",IDD_BITMAPLOCATION,"Static",SS_BLACKFRAME,11,10,184,
  84. 68
  85. CONTROL "",-1,"Static",SS_BLACKFRAME,6,5,194,78
  86. END