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.

167 lines
6.1 KiB

  1. #include "resource.h"
  2. #include "windows.h"
  3. IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 292, 217
  4. STYLE WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU |
  5. WS_THICKFRAME | WS_CLIPCHILDREN
  6. CAPTION "SockEye.Exe - WinSock API Browser"
  7. MENU IDR_MENU1
  8. FONT 6, "Courier"
  9. BEGIN
  10. CONTROL "Params",IDM_PARAMS,"Button",BS_AUTOCHECKBOX |
  11. WS_TABSTOP,2,4,28,10
  12. PUSHBUTTON "Startup",IDC_BUTTON1,34,1,28,16
  13. PUSHBUTTON "Cleanup",IDC_BUTTON2,62,1,28,16
  14. PUSHBUTTON "socket",IDC_BUTTON3,90,1,28,16
  15. PUSHBUTTON "WSASock",IDC_BUTTON4,118,1,28,16
  16. PUSHBUTTON "closesock",IDC_BUTTON5,146,1,28,16
  17. PUSHBUTTON "Clear",IDC_BUTTON6,176,1,16,16
  18. PUSHBUTTON "",IDC_BUTTON7,194,1,14,16
  19. PUSHBUTTON "",IDC_BUTTON8,208,1,14,16
  20. PUSHBUTTON "",IDC_BUTTON9,222,1,14,16
  21. PUSHBUTTON "",IDC_BUTTON10,236,1,14,16
  22. PUSHBUTTON "",IDC_BUTTON11,250,1,14,16
  23. PUSHBUTTON "",IDC_BUTTON12,264,1,14,16
  24. EDITTEXT IDC_EDIT1,129,19,117,195,ES_MULTILINE | ES_AUTOVSCROLL |
  25. ES_AUTOHSCROLL | WS_VSCROLL | WS_HSCROLL | 0x1000
  26. // LISTBOX IDC_LIST1,70,20,58,194, LBS_NOINTEGRALHEIGHT |
  27. // WS_VSCROLL | WS_TABSTOP
  28. LISTBOX IDC_LIST1,70,20,58,95, LBS_NOINTEGRALHEIGHT |
  29. WS_VSCROLL | WS_TABSTOP
  30. LISTBOX IDC_LIST3,70,117,58,95, LBS_NOINTEGRALHEIGHT |
  31. WS_VSCROLL | WS_TABSTOP | LBS_MULTIPLESEL
  32. LISTBOX IDC_LIST2,2,20,65,197,LBS_NOINTEGRALHEIGHT | WS_VSCROLL |
  33. WS_TABSTOP
  34. END
  35. IDD_DIALOG2 DIALOG DISCARDABLE 10, 10, 223, 192
  36. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  37. CAPTION ""
  38. FONT 8, "MS Shell Dlg"
  39. BEGIN
  40. LTEXT "Parameters:",55,4,6,42,7
  41. LISTBOX IDC_LIST1,4,16,90,148,LBS_NOINTEGRALHEIGHT | WS_VSCROLL |
  42. WS_TABSTOP
  43. LTEXT "Value:",56,106,6,30,7
  44. COMBOBOX IDC_COMBO1,106,16,110,47,CBS_SIMPLE | CBS_AUTOHSCROLL |
  45. CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  46. LTEXT "",57,106,66,110,9
  47. LTEXT "",58,106,76,110,9
  48. LISTBOX IDC_LIST2,106,75,110,89,LBS_MULTIPLESEL |
  49. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  50. EDITTEXT IDC_EDIT1,106,85,0,0,ES_MULTILINE | ES_AUTOVSCROLL |
  51. WS_VSCROLL | 0x1000
  52. DEFPUSHBUTTON "OK",IDOK,106,171,47,14
  53. PUSHBUTTON "Cancel",IDCANCEL,170,171,47,14
  54. // help PUSHBUTTON "Help",IDC_TB_HELP,4,171,36,14
  55. END
  56. IDD_DIALOG3 DIALOG DISCARDABLE 0, 0, 203, 198
  57. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  58. CAPTION "User-defined buttons"
  59. FONT 8, "MS Shell Dlg"
  60. BEGIN
  61. LTEXT "Button number:",55,8,8,54,7
  62. LISTBOX IDC_LIST1,8,18,50,72,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  63. WS_VSCROLL | WS_TABSTOP
  64. LTEXT "Button function:",56,78,8,58,7
  65. LISTBOX IDC_LIST2,79,18,118,174,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  66. WS_VSCROLL | WS_TABSTOP
  67. LTEXT "Button Text:",57,8,100,45,7
  68. EDITTEXT IDC_EDIT1,9,110,28,11,ES_AUTOHSCROLL
  69. DEFPUSHBUTTON "OK",IDOK,8,158,50,14
  70. PUSHBUTTON "Cancel",IDCANCEL,8,178,50,14
  71. END
  72. IDD_DIALOG4 DIALOG DISCARDABLE 0, 0, 185, 69
  73. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  74. CAPTION "About SockEye"
  75. FONT 8, "MS Shell Dlg"
  76. BEGIN
  77. DEFPUSHBUTTON "OK",IDOK,69,50,50,14
  78. LTEXT "WinSock API Browser v1.0",38,80,12,70,7
  79. LTEXT "Copyright (c) 1996 Microsoft Corporation",70,20,30,168,
  80. 12
  81. ICON IDI_ICON1,IDC_STATIC1,52,5,18,20
  82. END
  83. IDD_DIALOG6 DIALOG 6, 18, 192, 173
  84. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  85. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  86. CAPTION "Using SockEye"
  87. FONT 8, "MS Shell Dlg"
  88. BEGIN
  89. DEFPUSHBUTTON "OK", IDOK, 66, 157, 60, 14
  90. EDITTEXT IDC_EDIT1, 4, 4, 184, 150, ES_MULTILINE | ES_AUTOVSCROLL |
  91. ES_READONLY | WS_VSCROLL
  92. END
  93. IDR_MENU1 MENU DISCARDABLE
  94. BEGIN
  95. POPUP "&File"
  96. BEGIN
  97. MENUITEM "&Clear", IDM_CLEAR
  98. MENUITEM SEPARATOR
  99. MENUITEM "&Params", IDM_PARAMS
  100. MENUITEM SEPARATOR
  101. MENUITEM "E&xit", IDM_EXIT
  102. END
  103. POPUP "&Options"
  104. BEGIN
  105. MENUITEM "&Default values...", IDM_DEFAULTVALUES
  106. MENUITEM SEPARATOR
  107. MENUITEM "&User buttons...", IDM_USERBUTTONS
  108. // MENUITEM SEPARATOR
  109. // MENUITEM "Log &parameters", IDM_DUMPPARAMS
  110. // POPUP "Log &structures"
  111. // BEGIN
  112. // MENUITEM "by &fields (all)", IDM_LOGSTRUCTALLFIELD
  113. // MENUITEM "by fields (&non-zero only)", IDM_LOGSTRUCTNONZEROFIELD
  114. // MENUITEM "by &DWORDs/ASCII", IDM_LOGSTRUCTDWORD
  115. // MENUITEM "by n&one", IDM_LOGSTRUCTNONE
  116. // END
  117. // MENUITEM SEPARATOR
  118. // MENUITEM "&Show time stamps", IDM_TIMESTAMP
  119. MENUITEM SEPARATOR
  120. MENUITEM "Record log &file", IDM_LOGFILE
  121. // MENUITEM SEPARATOR
  122. // MENUITEM "Disable handle checking", IDM_NOHANDLECHK
  123. END
  124. POPUP "&Help"
  125. BEGIN
  126. MENUITEM "&Using SockEye...", IDM_USAGE
  127. MENUITEM "&About SockEye...", IDM_ABOUT
  128. END
  129. END
  130. IDI_ICON1 ICON DISCARDABLE "SOCKEYE.ICO"
  131. IDR_ACCELERATOR1 ACCELERATORS DISCARDABLE
  132. BEGIN
  133. // help VK_F1, IDC_F1HELP, VIRTKEY
  134. VK_TAB, IDC_PREVCTRL, VIRTKEY, SHIFT
  135. VK_TAB, IDC_NEXTCTRL, VIRTKEY
  136. VK_RETURN, IDC_ENTER, VIRTKEY
  137. END
  138. #if WINNT
  139. #include <ntverp.h>
  140. #else
  141. #include <ver.h>
  142. #endif
  143. #define VER_FILEDESCRIPTION_STR "Microsoft\256 Windows(TM) WinSock Browser"
  144. #define VER_INTERNALNAME_STR "sockeye"
  145. #define VER_ORIGINALFILENAME_STR "SOCKEYE.EXE"
  146. #define VER_LEGALCOPYRIGHT_STR "Copyright \251 Microsoft Corporation 1996. All Rights Reserved."
  147. #define VER_FILETYPE VFT_APP
  148. #define VER_FILESUBTYPE VFT2_UNKNOWN
  149. #include <common.ver>