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
1.8 KiB

  1. //==========================================================================;
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  4. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
  5. // TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR
  6. // A PARTICULAR PURPOSE.
  7. //
  8. // Copyright (C) 1993 - 1997 Microsoft Corporation. All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //==========================================================================;
  12. //
  13. // zyztlb.h
  14. //
  15. // Description:
  16. //
  17. //
  18. // History:
  19. // 5/18/93
  20. //
  21. //==========================================================================;
  22. //
  23. //
  24. //
  25. //
  26. typedef struct tZYZTABBEDLISTBOX
  27. {
  28. HWND hlb;
  29. int nFontHeight;
  30. RECT rc;
  31. UINT uTabStops;
  32. PINT panTabs;
  33. PINT panTitleTabs;
  34. UINT cchTitleText;
  35. PTSTR pszTitleText;
  36. } ZYZTABBEDLISTBOX, *PZYZTABBEDLISTBOX;
  37. #define TLB_MAX_TAB_STOPS 20 // max number of columns
  38. #define TLB_MAX_TITLE_CHARS 512
  39. //
  40. //
  41. //
  42. //
  43. //
  44. BOOL FNGLOBAL TlbPaint
  45. (
  46. PZYZTABBEDLISTBOX ptlb,
  47. HWND hwnd,
  48. HDC hdc
  49. );
  50. BOOL FNGLOBAL TlbMove
  51. (
  52. PZYZTABBEDLISTBOX ptlb,
  53. PRECT prc,
  54. BOOL fRedraw
  55. );
  56. HFONT FNGLOBAL TlbSetFont
  57. (
  58. PZYZTABBEDLISTBOX ptlb,
  59. HFONT hfont,
  60. BOOL fRedraw
  61. );
  62. BOOL FNGLOBAL TlbSetTitleAndTabs
  63. (
  64. PZYZTABBEDLISTBOX ptlb,
  65. PTSTR pszTitleFormat,
  66. BOOL fRedraw
  67. );
  68. PZYZTABBEDLISTBOX FNGLOBAL TlbDestroy
  69. (
  70. PZYZTABBEDLISTBOX ptlb
  71. );
  72. PZYZTABBEDLISTBOX FNGLOBAL TlbCreate
  73. (
  74. HWND hwnd,
  75. int nId,
  76. PRECT prc
  77. );