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.

80 lines
2.5 KiB

  1. /*****************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /*****************************************************************/
  5. /*
  6. * colwidth.hxx
  7. *
  8. * This file contains the column widths of multi-column listboxes.
  9. * Depending on the contents of these columns, their widths may
  10. * have to be adjusted during localization.
  11. *
  12. * All column widths are specified in number of pixels, so the driver
  13. * should preferably be tested for looks on a wide variety of monitors.
  14. *
  15. * History:
  16. * RustanL 23-Feb-1991 Created
  17. *
  18. */
  19. #ifndef _COLWIDTH_HXX_
  20. #define _COLWIDTH_HXX_
  21. /* The following manifest specifies the column width of the column
  22. * showing the device name in the Disconnect Drive and
  23. * (Printer) Connection dialogs.
  24. * Since device names are the same for all languages, it is unlikely
  25. * that this manifest will change during localization.
  26. */
  27. #define COL_WIDTH_DEVICE_NAME (60)
  28. /* The following manifests deal with the Show Resource (upper) outline
  29. * listbox in the the Browse/Connect/Connection dialogs.
  30. *
  31. * There are three levels in this listbox: enterprise (0), domain (1),
  32. * and server (2). The indent of each level is the number shown in
  33. * parenthesis above times COL_WIDTH_OUTLINE_INDENT. That is,
  34. * enterprise 0
  35. * domain COL_WIDTH_OUTLINE_INDENT
  36. * server 2 * COL_WIDTH_OUTLINE_INDENT
  37. *
  38. * The column containing the enterprise/domain/server name is
  39. * COL_WIDTH_SERVER less the indent wide. That is, the width allowed for
  40. * the different names are:
  41. * enterprise COL_WIDTH_SERVER
  42. * domain COL_WIDTH_SERVER - COL_WIDTH_OUTLINE_INDENT
  43. * server COL_WIDTH_SERVER - 2 * COL_WIDTH_OUTLINE_INDENT
  44. *
  45. * The width of the display map between the blank indent and the name
  46. * is not included in these numbers. The display map is the normal
  47. * COL_WIDTH_DM (defined in bltcons.h) wide.
  48. *
  49. * Due to the calculations above, the comment will always begin at
  50. * position COL_WIDTH_DM + COL_WIDTH_SERVER and will stretch to the
  51. * right end of the listbox.
  52. *
  53. */
  54. #define COL_WIDTH_OUTLINE_INDENT (6)
  55. #define COL_WIDTH_SERVER (150)
  56. /* The following manifest specifies the column width of the column
  57. * showing the net name (share name, alias name, DFS name, DS printer
  58. * name) in the Resources (lower) listbox in the Browse/Connect/Connection
  59. * dialogs.
  60. */
  61. #define COL_WIDTH_NET_NAME (100)
  62. /* The width of the group/user name in the main permissions dialog.
  63. */
  64. #define COL_WIDTH_SUBJECT_NAME (150)
  65. #endif // _COLWIDTH_HXX_