Leaked source code of windows server 2003
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.

40 lines
1.5 KiB

  1. /**********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990, 1991 **/
  4. /**********************************************************************/
  5. /*
  6. bltcons.h
  7. BLT constants
  8. FILE HISTORY:
  9. Rustan M. Leino 21-Nov-1990 Created
  10. Johnl 12-Feb-1991 Added MsgPopup manifests
  11. rustanl 19-Feb-1991 Added COL_WIDTH manifests
  12. Johnl 5-Mar-1991 Removed DMID stuff
  13. */
  14. /* The following manifests are for drawing listbox items.
  15. */
  16. // number of pixels within a listbox column that are unused to separate
  17. // columns
  18. #define DISP_TBL_COLUMN_DELIM_SIZE (2)
  19. // width of a display map in pixels
  20. #define COL_WIDTH_DM ( 16 + DISP_TBL_COLUMN_DELIM_SIZE )
  21. // width of a wide display map in pixels
  22. #define COL_WIDTH_WIDE_DM ( 32 + DISP_TBL_COLUMN_DELIM_SIZE )
  23. // The width of the last column always streches to the right edge of the
  24. // listbox. The client should, as a good programmer, still fill in
  25. // the last column width specified in the array of column widths passed
  26. // to the DISPLAY_TABLE constructor. Rather than that the client pulls
  27. // up some number from a hat, he can assign the following manifest. The
  28. // manifest is defined as 0, but could actually be assigned any number
  29. // (except negative ones, because no column width should be negative).
  30. // AWAP stands for As Wide As Possible.
  31. #define COL_WIDTH_AWAP ( 0 )