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.

247 lines
12 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1992 **/
  4. /**********************************************************************/
  5. /*
  6. UsrBrows.dlg
  7. Definition for the User Browser dialog
  8. Contains both a common and security-editor dialog. If one changes,
  9. the other probably should as well....
  10. Note also two versions of the vanilla user browser dialog, varying
  11. only in the style of the listbox. BUGBUG: make server manager
  12. set that style itself, and eliminate the redundant SINGLE version.
  13. FILE HISTORY:
  14. Johnl 04-Mar-1992 Created
  15. beng 04-Aug-1992 Moved into a DLL
  16. */
  17. IDD_SED_USRBROWS_DLG DIALOG 36, 26, 275, 245
  18. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  19. CAPTION "Add"
  20. FONT 8, "MS Shell Dlg"
  21. BEGIN
  22. LTEXT "&List Names From:", 50, 8, 8, 57, 8
  23. COMBOBOX CB_TRUSTED_DOMAINS, 66, 6, 124, 60, CBS_DROPDOWNLIST |
  24. CBS_OWNERDRAWFIXED | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  25. LTEXT "&Names:", 15009, 8, 22, 26, 8
  26. LISTBOX LB_ACCOUNTS, 8, 32, 259, 85, LBS_OWNERDRAWFIXED |
  27. LBS_WANTKEYBOARDINPUT | LBS_EXTENDEDSEL | WS_DISABLED |
  28. WS_VSCROLL | WS_TABSTOP | LBS_NODATA
  29. LTEXT "C1", COL_SUBJECT_NAME, 20, 16, 12, 8, NOT WS_VISIBLE |
  30. WS_DISABLED
  31. LTEXT "C2", 2063, 126, 18, 12, 8, NOT WS_VISIBLE | WS_DISABLED |
  32. NOT WS_GROUP
  33. PUSHBUTTON "&Add", USR_BUTTON_ADD, 34, 127, 40, 14, WS_DISABLED |
  34. WS_GROUP
  35. PUSHBUTTON "Show &Users", BUTTON_SHOW_USERS, 84, 127, 46, 14,
  36. WS_DISABLED
  37. PUSHBUTTON "&Members...", USR_BUTTON_MEMBERS, 141, 127, 44, 14,
  38. WS_DISABLED
  39. PUSHBUTTON "&Search...", USR_BUTTON_SEARCH, 195, 127, 40, 14
  40. CONTROL "", 15014, "Static", SS_SUNKEN, 8, 146, 259, 1
  41. LTEXT "A&dd Names:", 15015, 8, 151, 42, 8
  42. EDITTEXT USR_MLE_ADD, 7, 161, 258, 38, ES_MULTILINE | WS_VSCROLL
  43. LTEXT "&Type of Access:", 53, 8, 205, 54, 8
  44. COMBOBOX CB_PERMNAMES, 64, 203, 106, 71, CBS_DROPDOWNLIST |
  45. WS_VSCROLL | WS_TABSTOP
  46. DEFPUSHBUTTON "OK", IDOK, 63, 225, 40, 14, WS_GROUP
  47. PUSHBUTTON "Cancel", IDCANCEL, 119, 225, 40, 14
  48. PUSHBUTTON "&Help", IDHELPBLT, 175, 225, 40, 14
  49. LTEXT "D1", USR_COL_DOMAIN_NAME, 78, 0, 12, 8, NOT WS_VISIBLE |
  50. WS_DISABLED
  51. EDITTEXT USR_SLT_BROWSER_ERROR, 8, 32, 253, 85, ES_MULTILINE |
  52. ES_READONLY | WS_DISABLED
  53. END
  54. IDD_USRBROWS_DLG DIALOG 36, 26, 275, 226
  55. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  56. CAPTION "Add"
  57. FONT 8, "MS Shell Dlg"
  58. BEGIN
  59. LTEXT "&List Names From:", 50, 8, 8, 57, 8
  60. COMBOBOX CB_TRUSTED_DOMAINS, 66, 6, 124, 60, CBS_DROPDOWNLIST |
  61. CBS_OWNERDRAWFIXED | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  62. LTEXT "&Names:", 15009, 8, 22, 28, 8
  63. LISTBOX LB_ACCOUNTS, 8, 32, 258, 88, LBS_OWNERDRAWFIXED |
  64. LBS_WANTKEYBOARDINPUT | LBS_EXTENDEDSEL | WS_DISABLED |
  65. WS_VSCROLL | WS_TABSTOP | LBS_NODATA
  66. LTEXT "C1", COL_SUBJECT_NAME, 20, 16, 12, 8, NOT WS_VISIBLE |
  67. WS_DISABLED
  68. LTEXT "C2", 2063, 126, 18, 12, 8, NOT WS_VISIBLE | WS_DISABLED |
  69. NOT WS_GROUP
  70. PUSHBUTTON "&Add", USR_BUTTON_ADD, 33, 127, 40, 14, WS_DISABLED |
  71. WS_GROUP
  72. PUSHBUTTON "Show &Users", BUTTON_SHOW_USERS, 84, 127, 46, 14,
  73. WS_DISABLED
  74. PUSHBUTTON "&Members...", USR_BUTTON_MEMBERS, 141, 127, 44, 14,
  75. WS_DISABLED
  76. PUSHBUTTON "&Search...", USR_BUTTON_SEARCH, 195, 127, 40, 14
  77. CONTROL "", 15014, "Static", SS_SUNKEN, 8, 146, 258, 1
  78. LTEXT "A&dd Names:", 15015, 8, 151, 48, 8
  79. EDITTEXT USR_MLE_ADD, 8, 161, 258, 38, ES_MULTILINE | WS_VSCROLL
  80. DEFPUSHBUTTON "OK", IDOK, 58, 206, 40, 14, WS_GROUP
  81. PUSHBUTTON "Cancel", IDCANCEL, 114, 206, 40, 14
  82. PUSHBUTTON "&Help", IDHELPBLT, 170, 206, 40, 14
  83. LTEXT "D1", USR_COL_DOMAIN_NAME, 78, 0, 12, 8, NOT WS_VISIBLE |
  84. WS_DISABLED
  85. EDITTEXT USR_SLT_BROWSER_ERROR, 8, 32, 258, 85, ES_MULTILINE |
  86. ES_READONLY | WS_DISABLED
  87. END
  88. IDD_SINGLE_USRBROWS_DLG DIALOG 36, 26, 276, 203
  89. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  90. CAPTION "Add"
  91. FONT 8, "MS Shell Dlg"
  92. BEGIN
  93. LTEXT "&List Names From:", 50, 8, 8, 57, 8
  94. COMBOBOX CB_TRUSTED_DOMAINS, 66, 6, 124, 60, CBS_DROPDOWNLIST |
  95. CBS_OWNERDRAWFIXED | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  96. LTEXT "&Names:", 15009, 8, 22, 28, 8
  97. LISTBOX LB_ACCOUNTS, 8, 32, 257, 88, LBS_OWNERDRAWFIXED |
  98. LBS_WANTKEYBOARDINPUT | WS_DISABLED | WS_VSCROLL |
  99. WS_TABSTOP | LBS_NODATA
  100. LTEXT "C1", COL_SUBJECT_NAME, 20, 16, 12, 8, NOT WS_VISIBLE |
  101. WS_DISABLED
  102. LTEXT "C2", 2063, 126, 18, 12, 8, NOT WS_VISIBLE | WS_DISABLED |
  103. NOT WS_GROUP
  104. PUSHBUTTON "&Add", USR_BUTTON_ADD, 33, 127, 40, 14, WS_DISABLED |
  105. WS_GROUP
  106. PUSHBUTTON "Show &Users", BUTTON_SHOW_USERS, 84, 127, 46, 14,
  107. WS_DISABLED
  108. PUSHBUTTON "&Members...", USR_BUTTON_MEMBERS, 141, 127, 44, 14,
  109. WS_DISABLED
  110. PUSHBUTTON "&Search...", USR_BUTTON_SEARCH, 195, 127, 40, 14
  111. CONTROL "", 15014, "Static", SS_SUNKEN, 8, 148, 257, 1
  112. LTEXT "A&dd Name:", 15015, 7, 160, 48, 8
  113. EDITTEXT USR_MLE_ADD, 47, 157, 214, 13, ES_MULTILINE
  114. DEFPUSHBUTTON "OK", IDOK, 62, 182, 40, 14, WS_GROUP
  115. PUSHBUTTON "Cancel", IDCANCEL, 118, 182, 40, 14
  116. PUSHBUTTON "&Help", IDHELPBLT, 174, 182, 40, 14
  117. LTEXT "D1", USR_COL_DOMAIN_NAME, 78, 0, 12, 8, NOT WS_VISIBLE |
  118. WS_DISABLED
  119. EDITTEXT USR_SLT_BROWSER_ERROR, 8, 32, 253, 85, ES_MULTILINE |
  120. ES_READONLY | WS_DISABLED
  121. END
  122. IDD_LGRPBROWS_DLG DIALOG 36, 26, 308, 176
  123. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  124. CAPTION "Local Group Membership"
  125. FONT 8, "MS Shell Dlg"
  126. BEGIN
  127. LTEXT "Members of %1 Local &Group:", SLT_SHOW_BROWSEGROUP, 8, 8, 272, 8
  128. LISTBOX LB_ACCOUNTS, 8, 18, 292, 132, LBS_OWNERDRAWFIXED |
  129. LBS_WANTKEYBOARDINPUT | LBS_EXTENDEDSEL | WS_VSCROLL |
  130. WS_TABSTOP | LBS_NODATA
  131. PUSHBUTTON "&Add", IDOK, 47, 156, 40, 14, WS_GROUP
  132. PUSHBUTTON "Cancel", IDCANCEL, 103, 156, 40, 14
  133. PUSHBUTTON "&Members...", USR_BUTTON_MEMBERS, 159, 156, 46, 14
  134. PUSHBUTTON "&Help", IDHELPBLT, 221, 156, 40, 14
  135. LTEXT "C1", COL_SUBJECT_NAME, 26, 8, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  136. LTEXT "C2", COL_COMMENT, 132, 8, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  137. END
  138. IDD_GGRPBROWS_DLG DIALOG 36, 26, 308, 176
  139. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  140. CAPTION "Global Group Membership"
  141. FONT 8, "MS Shell Dlg"
  142. BEGIN
  143. LTEXT "Members of %1 Global &Group:", SLT_SHOW_BROWSEGROUP, 8, 8, 272, 8
  144. LISTBOX LB_ACCOUNTS, 8, 18, 292, 132, LBS_OWNERDRAWFIXED |
  145. LBS_WANTKEYBOARDINPUT | LBS_EXTENDEDSEL | WS_VSCROLL |
  146. WS_TABSTOP | LBS_NODATA
  147. PUSHBUTTON "&Add", IDOK, 78, 156, 40, 14, WS_GROUP
  148. PUSHBUTTON "Cancel", IDCANCEL, 134, 156, 40, 14
  149. PUSHBUTTON "&Help", IDHELPBLT, 190, 156, 40, 14
  150. LTEXT "C1", COL_SUBJECT_NAME, 26, 8, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  151. LTEXT "C2", COL_COMMENT, 132, 8, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  152. END
  153. IDD_LGRPBROWS_1SEL_DLG DIALOG 36, 26, 308, 176
  154. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  155. CAPTION "Local Group Membership"
  156. FONT 8, "MS Shell Dlg"
  157. BEGIN
  158. LTEXT "Members of %1 Local &Group:", SLT_SHOW_BROWSEGROUP, 8, 8, 272, 8
  159. LISTBOX LB_ACCOUNTS, 8, 18, 292, 132, LBS_OWNERDRAWFIXED |
  160. LBS_WANTKEYBOARDINPUT | WS_VSCROLL | WS_TABSTOP | LBS_NODATA
  161. PUSHBUTTON "&Add", IDOK, 47, 156, 40, 14, WS_GROUP
  162. PUSHBUTTON "Cancel", IDCANCEL, 103, 156, 40, 14
  163. PUSHBUTTON "&Members...", USR_BUTTON_MEMBERS, 159, 156, 46, 14
  164. PUSHBUTTON "&Help", IDHELPBLT, 221, 156, 40, 14
  165. LTEXT "C1", COL_SUBJECT_NAME, 26, 8, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  166. LTEXT "C2", COL_COMMENT, 132, 8, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  167. END
  168. IDD_GGRPBROWS_1SEL_DLG DIALOG 36, 26, 308, 176
  169. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  170. CAPTION "Global Group Membership"
  171. FONT 8, "MS Shell Dlg"
  172. BEGIN
  173. LTEXT "Members of %1 Global &Group:", SLT_SHOW_BROWSEGROUP, 8, 8, 292, 8
  174. LISTBOX LB_ACCOUNTS, 8, 18, 292, 132, LBS_OWNERDRAWFIXED |
  175. LBS_WANTKEYBOARDINPUT | WS_VSCROLL | WS_TABSTOP | LBS_NODATA
  176. PUSHBUTTON "&Add", IDOK, 78, 156, 40, 14, WS_GROUP
  177. PUSHBUTTON "Cancel", IDCANCEL, 134, 156, 40, 14
  178. PUSHBUTTON "&Help", IDHELPBLT, 190, 156, 40, 14
  179. LTEXT "C1", COL_SUBJECT_NAME, 26, 8, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  180. LTEXT "C2", COL_COMMENT, 132, 8, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  181. END
  182. IDD_BROWS_FIND_ACCOUNT DIALOG 4, 36, 288, 270
  183. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  184. CAPTION "Find Account"
  185. FONT 8, "MS Shell Dlg"
  186. BEGIN
  187. LTEXT "Find &User or Group:", -1, 8, 8, 66, 8
  188. EDITTEXT USR_SLE_ACCTNAME, 73, 6, 159, 14, ES_AUTOHSCROLL
  189. PUSHBUTTON "&Search", USR_PB_SEARCH, 244, 7, 40, 14, WS_GROUP
  190. AUTORADIOBUTTON "Search A&ll", USR_RB_SEARCHALL, 8, 28, 214, 10, WS_GROUP
  191. AUTORADIOBUTTON "Search &Only In:", USR_RB_SEARCHONLY, 8, 40, 214, 10
  192. LTEXT "D1", USR_COL_DOMAIN_NAME, 20, 50, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  193. LISTBOX USR_LB_SEARCH, 8, 56, 224, 114, LBS_SORT | LBS_OWNERDRAWFIXED |
  194. LBS_WANTKEYBOARDINPUT | LBS_EXTENDEDSEL | WS_VSCROLL |
  195. WS_TABSTOP | LBS_NOTIFY
  196. CONTROL "", -1, "Static", SS_SUNKEN, 12, 178, 268, 1
  197. LTEXT "Search &Results:", -1, 8, 175, 53, 8
  198. LISTBOX LB_ACCOUNTS, 8, 192, 272, 50, LBS_OWNERDRAWFIXED |
  199. LBS_WANTKEYBOARDINPUT | LBS_EXTENDEDSEL | WS_VSCROLL |
  200. WS_TABSTOP | LBS_NODATA | LBS_NOTIFY
  201. LTEXT "E1", COL_SUBJECT_NAME, 20, 182, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  202. LTEXT "E2", COL_COMMENT, 154, 182, 12, 8, NOT WS_VISIBLE |
  203. WS_DISABLED | NOT WS_GROUP
  204. DEFPUSHBUTTON "&Add", IDOK, 60, 248, 40, 14, WS_GROUP
  205. PUSHBUTTON "Cancel", IDCANCEL, 122, 248, 40, 14
  206. PUSHBUTTON "&Help", IDHELPBLT, 184, 248, 40, 14
  207. END
  208. IDD_BROWS_FIND_ACCOUNT_1SEL DIALOG 4, 36, 288, 270
  209. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  210. CAPTION "Find Account"
  211. FONT 8, "MS Shell Dlg"
  212. BEGIN
  213. LTEXT "Find &User or Group:", -1, 8, 8, 66, 8
  214. EDITTEXT USR_SLE_ACCTNAME, 73, 6, 159, 14, ES_AUTOHSCROLL
  215. PUSHBUTTON "&Search", USR_PB_SEARCH, 244, 7, 40, 14, WS_GROUP
  216. AUTORADIOBUTTON "Search A&ll", USR_RB_SEARCHALL, 8, 28, 214, 10, WS_GROUP
  217. AUTORADIOBUTTON "Search &Only In:", USR_RB_SEARCHONLY, 8, 40, 214, 10
  218. LTEXT "D1", USR_COL_DOMAIN_NAME, 20, 50, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  219. LISTBOX USR_LB_SEARCH, 8, 56, 224, 114, LBS_SORT | LBS_OWNERDRAWFIXED |
  220. LBS_WANTKEYBOARDINPUT | LBS_EXTENDEDSEL | WS_VSCROLL |
  221. WS_TABSTOP | LBS_NOTIFY
  222. CONTROL "", -1, "Static", SS_SUNKEN, 12, 178, 268, 1
  223. LTEXT "Search &Results:", -1, 8, 175, 53, 8
  224. LISTBOX LB_ACCOUNTS, 8, 192, 272, 50, LBS_OWNERDRAWFIXED |
  225. LBS_WANTKEYBOARDINPUT | WS_VSCROLL |
  226. WS_TABSTOP | LBS_NODATA | LBS_NOTIFY
  227. LTEXT "E1", COL_SUBJECT_NAME, 20, 182, 12, 8, NOT WS_VISIBLE | WS_DISABLED
  228. LTEXT "E2", COL_COMMENT, 154, 182, 12, 8, NOT WS_VISIBLE |
  229. WS_DISABLED | NOT WS_GROUP
  230. DEFPUSHBUTTON "&Add", IDOK, 60, 248, 40, 14, WS_GROUP
  231. PUSHBUTTON "Cancel", IDCANCEL, 122, 248, 40, 14
  232. PUSHBUTTON "&Help", IDHELPBLT, 184, 248, 40, 14
  233. END