JwaTmSchema.pas
上传用户:davidchvip
上传日期:2009-07-28
资源大小:1749k
文件大小:69k
源码类别:

Windows编程

开发平台:

Delphi

  1. {******************************************************************************}
  2. {                                                                       }
  3. { Visual Styles (Themes) API interface Unit for Object Pascal                  }
  4. {                                                                       }
  5. { Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft          }
  6. { Corporation. All Rights Reserved.                                            }
  7. {                 }
  8. { The original file is: tmschema.h, released June 2001. The original Pascal    }
  9. { code is: TmSchema.pas, released July 2001. The initial developer of the      }
  10. { Pascal code is Marcel van Brakel (brakelm@chello.nl).                        }
  11. {                                                                              }
  12. { Portions created by Marcel van Brakel are Copyright (C) 1999-2001            }
  13. { Marcel van Brakel. All Rights Reserved.                                      }
  14. {                 }
  15. { Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI)        }
  16. {                }
  17. { You may retrieve the latest version of this file at the Project JEDI home    }
  18. { page, located at http://delphi-jedi.org or my personal homepage located at   }
  19. { http://members.chello.nl/m.vanbrakel2                                        }
  20. {                }
  21. { The contents of this file are used with permission, subject to the Mozilla   }
  22. { Public License Version 1.1 (the "License"); you may not use this file except }
  23. { in compliance with the License. You may obtain a copy of the License at      }
  24. { http://www.mozilla.org/MPL/MPL-1.1.html                                      }
  25. {                                                                              }
  26. { Software distributed under the License is distributed on an "AS IS" basis,   }
  27. { WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
  28. { the specific language governing rights and limitations under the License.    }
  29. {                                                                              }
  30. { Alternatively, the contents of this file may be used under the terms of the  }
  31. { GNU Lesser General Public License (the  "LGPL License"), in which case the   }
  32. { provisions of the LGPL License are applicable instead of those above.        }
  33. { If you wish to allow use of your version of this file only under the terms   }
  34. { of the LGPL License and not to allow others to use your version of this file }
  35. { under the MPL, indicate your decision by deleting  the provisions above and  }
  36. { replace  them with the notice and other provisions required by the LGPL      }
  37. { License.  If you do not delete the provisions above, a recipient may use     }
  38. { your version of this file under either the MPL or the LGPL License.          }
  39. {                 }
  40. { For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
  41. {                 }
  42. {******************************************************************************}
  43. unit JwaTmSchema;
  44. {$WEAKPACKAGEUNIT}
  45. {$HPPEMIT ''}
  46. {$HPPEMIT '#include "tmschema.h"'}
  47. {$HPPEMIT ''}
  48. {$I WINDEFINES.INC}
  49. interface
  50. uses
  51.   JwaWinType;
  52. //-----------------------------------------------------------------
  53. //   TmSchema.h - Theme Manager schema (properties, parts, etc)
  54. //-----------------------------------------------------------------
  55. const
  56.   THEMEMGR_VERSION = 1;     // increment if order of props changes or
  57.                             // any props are deleted (will prevent loading
  58.                             // of controlsets that use older version
  59.   {$EXTERNALSYM THEMEMGR_VERSION}
  60. //-----------------------------------------------------------------
  61. //   TM_ENUM (must also be declared in PROPERTIES section)
  62. //
  63. //    these cannot be renumbered (part of uxtheme API)
  64. //-----------------------------------------------------------------
  65. type
  66.   BGTYPE = DWORD;
  67.   {$EXTERNALSYM BGTYPE}
  68. const
  69.   BT_IMAGEFILE   = 0;
  70.   {$EXTERNALSYM BT_IMAGEFILE}
  71.   BT_BORDERFILL  = 1;
  72.   {$EXTERNALSYM BT_BORDERFILL}
  73.   BT_NONE        = 2;
  74.   {$EXTERNALSYM BT_NONE}
  75. type
  76.   IMAGELAYOUT = DWORD;
  77.   {$EXTERNALSYM IMAGELAYOUT}
  78. const
  79.   IL_VERTICAL    = 0;
  80.   {$EXTERNALSYM IL_VERTICAL}
  81.   IL_HORIZONTAL  = 1;
  82.   {$EXTERNALSYM IL_HORIZONTAL}
  83. type
  84.   BORDERTYPE = DWORD;
  85.   {$EXTERNALSYM BORDERTYPE}
  86. const
  87.   BT_RECT       = 0;
  88.   {$EXTERNALSYM BT_RECT}
  89.   BT_ROUNDRECT  = 1;
  90.   {$EXTERNALSYM BT_ROUNDRECT}
  91.   BT_ELLIPSE    = 2;
  92.   {$EXTERNALSYM BT_ELLIPSE}
  93. type
  94.   FILLTYPE = DWORD;
  95.   {$EXTERNALSYM FILLTYPE}
  96. const
  97.   FT_SOLID           = 0;
  98.   {$EXTERNALSYM FT_SOLID}
  99.   FT_VERTGRADIENT    = 1;
  100.   {$EXTERNALSYM FT_VERTGRADIENT}
  101.   FT_HORZGRADIENT    = 2;
  102.   {$EXTERNALSYM FT_HORZGRADIENT}
  103.   FT_RADIALGRADIENT  = 3;
  104.   {$EXTERNALSYM FT_RADIALGRADIENT}
  105.   FT_TILEIMAGE       = 4;
  106.   {$EXTERNALSYM FT_TILEIMAGE}
  107. type
  108.   SIZINGTYPE = DWORD;
  109.   {$EXTERNALSYM SIZINGTYPE}
  110. const
  111.   ST_TRUESIZE  = 0;
  112.   {$EXTERNALSYM ST_TRUESIZE}
  113.   ST_STRETCH   = 1;
  114.   {$EXTERNALSYM ST_STRETCH}
  115.   ST_TILE      = 2;
  116.   {$EXTERNALSYM ST_TILE}
  117. type
  118.   HALIGN = DWORD;
  119.   {$EXTERNALSYM HALIGN}
  120. const
  121.   HA_LEFT    = 0;
  122.   {$EXTERNALSYM HA_LEFT}
  123.   HA_CENTER  = 1;
  124.   {$EXTERNALSYM HA_CENTER}
  125.   HA_RIGHT   = 2;
  126.   {$EXTERNALSYM HA_RIGHT}
  127. type
  128.   CONTENTALIGNMENT = DWORD;
  129.   {$EXTERNALSYM CONTENTALIGNMENT}
  130. const
  131.   CA_LEFT    = 0;
  132.   {$EXTERNALSYM CA_LEFT}
  133.   CA_CENTER  = 1;
  134.   {$EXTERNALSYM CA_CENTER}
  135.   CA_RIGHT   = 2;
  136.   {$EXTERNALSYM CA_RIGHT}
  137. type
  138.   VALIGN = DWORD;
  139.   {$EXTERNALSYM VALIGN}
  140. const
  141.   VA_TOP     = 0;
  142.   {$EXTERNALSYM VA_TOP}
  143.   VA_CENTER  = 1;
  144.   {$EXTERNALSYM VA_CENTER}
  145.   VA_BOTTOM  = 2;
  146.   {$EXTERNALSYM VA_BOTTOM}
  147. type
  148.   OFFSETTYPE = DWORD;
  149.   {$EXTERNALSYM OFFSETTYPE}
  150. const
  151.   OT_TOPLEFT            = 0;
  152.   {$EXTERNALSYM OT_TOPLEFT}
  153.   OT_TOPRIGHT           = 1;
  154.   {$EXTERNALSYM OT_TOPRIGHT}
  155.   OT_TOPMIDDLE          = 2;
  156.   {$EXTERNALSYM OT_TOPMIDDLE}
  157.   OT_BOTTOMLEFT         = 3;
  158.   {$EXTERNALSYM OT_BOTTOMLEFT}
  159.   OT_BOTTOMRIGHT        = 4;
  160.   {$EXTERNALSYM OT_BOTTOMRIGHT}
  161.   OT_BOTTOMMIDDLE       = 5;
  162.   {$EXTERNALSYM OT_BOTTOMMIDDLE}
  163.   OT_MIDDLELEFT         = 6;
  164.   {$EXTERNALSYM OT_MIDDLELEFT}
  165.   OT_MIDDLERIGHT        = 7;
  166.   {$EXTERNALSYM OT_MIDDLERIGHT}
  167.   OT_LEFTOFCAPTION      = 8;
  168.   {$EXTERNALSYM OT_LEFTOFCAPTION}
  169.   OT_RIGHTOFCAPTION     = 9;
  170.   {$EXTERNALSYM OT_RIGHTOFCAPTION}
  171.   OT_LEFTOFLASTBUTTON   = 10;
  172.   {$EXTERNALSYM OT_LEFTOFLASTBUTTON}
  173.   OT_RIGHTOFLASTBUTTON  = 11;
  174.   {$EXTERNALSYM OT_RIGHTOFLASTBUTTON}
  175.   OT_ABOVELASTBUTTON    = 12;
  176.   {$EXTERNALSYM OT_ABOVELASTBUTTON}
  177.   OT_BELOWLASTBUTTON    = 13;
  178.   {$EXTERNALSYM OT_BELOWLASTBUTTON}
  179. type
  180.   ICONEFFECT = DWORD;
  181.   {$EXTERNALSYM ICONEFFECT}
  182. const
  183.   ICE_NONE    = 0;
  184.   {$EXTERNALSYM ICE_NONE}
  185.   ICE_GLOW    = 1;
  186.   {$EXTERNALSYM ICE_GLOW}
  187.   ICE_SHADOW  = 2;
  188.   {$EXTERNALSYM ICE_SHADOW}
  189.   ICE_PULSE   = 3;
  190.   {$EXTERNALSYM ICE_PULSE}
  191.   ICE_ALPHA   = 4;
  192.   {$EXTERNALSYM ICE_ALPHA}
  193. type
  194.   TEXTSHADOWTYPE = DWORD;
  195.   {$EXTERNALSYM TEXTSHADOWTYPE}
  196. const
  197.   TST_NONE        = 0;
  198.   {$EXTERNALSYM TST_NONE}
  199.   TST_SINGLE      = 1;
  200.   {$EXTERNALSYM TST_SINGLE}
  201.   TST_CONTINUOUS  = 2;
  202.   {$EXTERNALSYM TST_CONTINUOUS}
  203. type
  204.   GLYPHTYPE = DWORD;
  205.   {$EXTERNALSYM GLYPHTYPE}
  206. const
  207.   GT_NONE        = 0;
  208.   {$EXTERNALSYM GT_NONE}
  209.   GT_IMAGEGLYPH  = 1;
  210.   {$EXTERNALSYM GT_IMAGEGLYPH}
  211.   GT_FONTGLYPH   = 2;
  212.   {$EXTERNALSYM GT_FONTGLYPH}
  213. type
  214.   IMAGESELECTTYPE = DWORD;
  215.   {$EXTERNALSYM IMAGESELECTTYPE}
  216. const
  217.   IST_NONE  = 0;
  218.   {$EXTERNALSYM IST_NONE}
  219.   IST_SIZE  = 1;
  220.   {$EXTERNALSYM IST_SIZE}
  221.   IST_DPI   = 2;
  222.   {$EXTERNALSYM IST_DPI}
  223. type
  224.   TRUESIZESCALINGTYPE = DWORD;
  225.   {$EXTERNALSYM TRUESIZESCALINGTYPE}
  226. const
  227.   TSST_NONE  = 0;
  228.   {$EXTERNALSYM TSST_NONE}
  229.   TSST_SIZE  = 1;
  230.   {$EXTERNALSYM TSST_SIZE}
  231.   TSST_DPI   = 2;
  232.   {$EXTERNALSYM TSST_DPI}
  233. type
  234.   GLYPHFONTSIZINGTYPE = DWORD;
  235.   {$EXTERNALSYM GLYPHFONTSIZINGTYPE}
  236. const
  237.   GFST_NONE  = 0;
  238.   {$EXTERNALSYM GFST_NONE}
  239.   GFST_SIZE  = 1;
  240.   {$EXTERNALSYM GFST_SIZE}
  241.   GFST_DPI   = 2;
  242.   {$EXTERNALSYM GFST_DPI}
  243. //-----------------------------------------------------------------
  244. //    PROPERTIES - used by uxtheme rendering and controls
  245. //
  246. //    these cannot be renumbered (part of uxtheme API)
  247. //-----------------------------------------------------------------
  248. const
  249.   //---- primitive types ----
  250.   TMT_STRING = 201;
  251.   {$EXTERNALSYM TMT_STRING}
  252.   TMT_INT = 202;
  253.   {$EXTERNALSYM TMT_INT}
  254.   TMT_BOOL = 203;
  255.   {$EXTERNALSYM TMT_BOOL}
  256.   TMT_COLOR = 204;
  257.   {$EXTERNALSYM TMT_COLOR}
  258.   TMT_MARGINS = 205;
  259.   {$EXTERNALSYM TMT_MARGINS}
  260.   TMT_FILENAME = 206;
  261.   {$EXTERNALSYM TMT_FILENAME}
  262.   TMT_SIZE = 207;
  263.   {$EXTERNALSYM TMT_SIZE}
  264.   TMT_POSITION = 208;
  265.   {$EXTERNALSYM TMT_POSITION}
  266.   TMT_RECT = 209;
  267.   {$EXTERNALSYM TMT_RECT}
  268.   TMT_FONT = 210;
  269.   {$EXTERNALSYM TMT_FONT}
  270.   TMT_INTLIST = 211;
  271.   {$EXTERNALSYM TMT_INTLIST}
  272.   //---- special misc. properties ----
  273.   TMT_COLORSCHEMES = 401;
  274.   {$EXTERNALSYM TMT_COLORSCHEMES}
  275.   TMT_SIZES = 402;
  276.   {$EXTERNALSYM TMT_SIZES}
  277.   TMT_CHARSET = 403;
  278.   {$EXTERNALSYM TMT_CHARSET}
  279.   //---- [documentation] properties ----
  280.   TMT_DISPLAYNAME = 601;
  281.   {$EXTERNALSYM TMT_DISPLAYNAME}
  282.   TMT_TOOLTIP = 602;
  283.   {$EXTERNALSYM TMT_TOOLTIP}
  284.   TMT_COMPANY = 603;
  285.   {$EXTERNALSYM TMT_COMPANY}
  286.   TMT_AUTHOR = 604;
  287.   {$EXTERNALSYM TMT_AUTHOR}
  288.   TMT_COPYRIGHT = 605;
  289.   {$EXTERNALSYM TMT_COPYRIGHT}
  290.   TMT_URL = 606;
  291.   {$EXTERNALSYM TMT_URL}
  292.   TMT_VERSION = 607;
  293.   {$EXTERNALSYM TMT_VERSION}
  294.   TMT_DESCRIPTION = 608;
  295.   {$EXTERNALSYM TMT_DESCRIPTION}
  296.   TMT_FIRST_RCSTRING_NAME = TMT_DISPLAYNAME;
  297.   {$EXTERNALSYM TMT_FIRST_RCSTRING_NAME}
  298.   TMT_LAST_RCSTRING_NAME  = TMT_DESCRIPTION;
  299.   {$EXTERNALSYM TMT_LAST_RCSTRING_NAME}
  300.   //---- theme metrics: fonts ----
  301.   TMT_CAPTIONFONT = 801;
  302.   {$EXTERNALSYM TMT_CAPTIONFONT}
  303.   TMT_SMALLCAPTIONFONT = 802;
  304.   {$EXTERNALSYM TMT_SMALLCAPTIONFONT}
  305.   TMT_MENUFONT = 803;
  306.   {$EXTERNALSYM TMT_MENUFONT}
  307.   TMT_STATUSFONT = 804;
  308.   {$EXTERNALSYM TMT_STATUSFONT}
  309.   TMT_MSGBOXFONT = 805;
  310.   {$EXTERNALSYM TMT_MSGBOXFONT}
  311.   TMT_ICONTITLEFONT = 806;
  312.   {$EXTERNALSYM TMT_ICONTITLEFONT}
  313.   TMT_FIRSTFONT = TMT_CAPTIONFONT;
  314.   {$EXTERNALSYM TMT_FIRSTFONT}
  315.   TMT_LASTFONT  = TMT_ICONTITLEFONT;
  316.   {$EXTERNALSYM TMT_LASTFONT}
  317.   //---- theme metrics: bools ----
  318.   TMT_FLATMENUS = 1001;
  319.   {$EXTERNALSYM TMT_FLATMENUS}
  320.   TMT_FIRSTBOOL = TMT_FLATMENUS;
  321.   {$EXTERNALSYM TMT_FIRSTBOOL}
  322.   TMT_LASTBOOL  = TMT_FLATMENUS;
  323.   {$EXTERNALSYM TMT_LASTBOOL}
  324.   //---- theme metrics: sizes ----
  325.   TMT_SIZINGBORDERWIDTH = 1201;
  326.   {$EXTERNALSYM TMT_SIZINGBORDERWIDTH}
  327.   TMT_SCROLLBARWIDTH = 1202;
  328.   {$EXTERNALSYM TMT_SCROLLBARWIDTH}
  329.   TMT_SCROLLBARHEIGHT = 1203;
  330.   {$EXTERNALSYM TMT_SCROLLBARHEIGHT}
  331.   TMT_CAPTIONBARWIDTH = 1204;
  332.   {$EXTERNALSYM TMT_CAPTIONBARWIDTH}
  333.   TMT_CAPTIONBARHEIGHT = 1205;
  334.   {$EXTERNALSYM TMT_CAPTIONBARHEIGHT}
  335.   TMT_SMCAPTIONBARWIDTH = 1206;
  336.   {$EXTERNALSYM TMT_SMCAPTIONBARWIDTH}
  337.   TMT_SMCAPTIONBARHEIGHT = 1207;
  338.   {$EXTERNALSYM TMT_SMCAPTIONBARHEIGHT}
  339.   TMT_MENUBARWIDTH = 1208;
  340.   {$EXTERNALSYM TMT_MENUBARWIDTH}
  341.   TMT_MENUBARHEIGHT = 1209;
  342.   {$EXTERNALSYM TMT_MENUBARHEIGHT}
  343.   TMT_FIRSTSIZE  = TMT_SIZINGBORDERWIDTH;
  344.   {$EXTERNALSYM TMT_FIRSTSIZE}
  345.   TMT_LASTSIZE  = TMT_MENUBARHEIGHT;
  346.   {$EXTERNALSYM TMT_LASTSIZE}
  347.   //---- theme metrics: ints ----
  348.   TMT_MINCOLORDEPTH = 1301;
  349.   {$EXTERNALSYM TMT_MINCOLORDEPTH}
  350.   TMT_FIRSTINT = TMT_MINCOLORDEPTH;
  351.   {$EXTERNALSYM TMT_FIRSTINT}
  352.   TMT_LASTINT  = TMT_MINCOLORDEPTH;
  353.   {$EXTERNALSYM TMT_LASTINT}
  354.   //---- theme metrics: strings ----
  355.   TMT_CSSNAME = 1401;
  356.   {$EXTERNALSYM TMT_CSSNAME}
  357.   TMT_XMLNAME = 1402;
  358.   {$EXTERNALSYM TMT_XMLNAME}
  359.   TMT_FIRSTSTRING  = TMT_CSSNAME;
  360.   {$EXTERNALSYM TMT_FIRSTSTRING}
  361.   TMT_LASTSTRING   = TMT_XMLNAME;
  362.   {$EXTERNALSYM TMT_LASTSTRING}
  363.   //---- theme metrics: colors ----
  364.   TMT_SCROLLBAR = 1601;
  365.   {$EXTERNALSYM TMT_SCROLLBAR}
  366.   TMT_BACKGROUND = 1602;
  367.   {$EXTERNALSYM TMT_BACKGROUND}
  368.   TMT_ACTIVECAPTION = 1603;
  369.   {$EXTERNALSYM TMT_ACTIVECAPTION}
  370.   TMT_INACTIVECAPTION = 1604;
  371.   {$EXTERNALSYM TMT_INACTIVECAPTION}
  372.   TMT_MENU = 1605;
  373.   {$EXTERNALSYM TMT_MENU}
  374.   TMT_WINDOW = 1606;
  375.   {$EXTERNALSYM TMT_WINDOW}
  376.   TMT_WINDOWFRAME = 1607;
  377.   {$EXTERNALSYM TMT_WINDOWFRAME}
  378.   TMT_MENUTEXT = 1608;
  379.   {$EXTERNALSYM TMT_MENUTEXT}
  380.   TMT_WINDOWTEXT = 1609;
  381.   {$EXTERNALSYM TMT_WINDOWTEXT}
  382.   TMT_CAPTIONTEXT = 1610;
  383.   {$EXTERNALSYM TMT_CAPTIONTEXT}
  384.   TMT_ACTIVEBORDER = 1611;
  385.   {$EXTERNALSYM TMT_ACTIVEBORDER}
  386.   TMT_INACTIVEBORDER = 1612;
  387.   {$EXTERNALSYM TMT_INACTIVEBORDER}
  388.   TMT_APPWORKSPACE = 1613;
  389.   {$EXTERNALSYM TMT_APPWORKSPACE}
  390.   TMT_HIGHLIGHT = 1614;
  391.   {$EXTERNALSYM TMT_HIGHLIGHT}
  392.   TMT_HIGHLIGHTTEXT = 1615;
  393.   {$EXTERNALSYM TMT_HIGHLIGHTTEXT}
  394.   TMT_BTNFACE = 1616;
  395.   {$EXTERNALSYM TMT_BTNFACE}
  396.   TMT_BTNSHADOW = 1617;
  397.   {$EXTERNALSYM TMT_BTNSHADOW}
  398.   TMT_GRAYTEXT = 1618;
  399.   {$EXTERNALSYM TMT_GRAYTEXT}
  400.   TMT_BTNTEXT = 1619;
  401.   {$EXTERNALSYM TMT_BTNTEXT}
  402.   TMT_INACTIVECAPTIONTEXT = 1620;
  403.   {$EXTERNALSYM TMT_INACTIVECAPTIONTEXT}
  404.   TMT_BTNHIGHLIGHT = 1621;
  405.   {$EXTERNALSYM TMT_BTNHIGHLIGHT}
  406.   TMT_DKSHADOW3D = 1622;
  407.   {$EXTERNALSYM TMT_DKSHADOW3D}
  408.   TMT_LIGHT3D = 1623;
  409.   {$EXTERNALSYM TMT_LIGHT3D}
  410.   TMT_INFOTEXT = 1624;
  411.   {$EXTERNALSYM TMT_INFOTEXT}
  412.   TMT_INFOBK = 1625;
  413.   {$EXTERNALSYM TMT_INFOBK}
  414.   TMT_BUTTONALTERNATEFACE = 1626;
  415.   {$EXTERNALSYM TMT_BUTTONALTERNATEFACE}
  416.   TMT_HOTTRACKING = 1627;
  417.   {$EXTERNALSYM TMT_HOTTRACKING}
  418.   TMT_GRADIENTACTIVECAPTION = 1628;
  419.   {$EXTERNALSYM TMT_GRADIENTACTIVECAPTION}
  420.   TMT_GRADIENTINACTIVECAPTION = 1629;
  421.   {$EXTERNALSYM TMT_GRADIENTINACTIVECAPTION}
  422.   TMT_MENUHILIGHT = 1630;
  423.   {$EXTERNALSYM TMT_MENUHILIGHT}
  424.   TMT_MENUBAR = 1631;
  425.   {$EXTERNALSYM TMT_MENUBAR}
  426.   TMT_FIRSTCOLOR = TMT_SCROLLBAR;
  427.   {$EXTERNALSYM TMT_FIRSTCOLOR}
  428.   TMT_LASTCOLOR  = TMT_MENUBAR;
  429.   {$EXTERNALSYM TMT_LASTCOLOR}
  430.   //---- hue substitutions ----
  431.   TMT_FROMHUE1 = 1801;
  432.   {$EXTERNALSYM TMT_FROMHUE1}
  433.   TMT_FROMHUE2 = 1802;
  434.   {$EXTERNALSYM TMT_FROMHUE2}
  435.   TMT_FROMHUE3 = 1803;
  436.   {$EXTERNALSYM TMT_FROMHUE3}
  437.   TMT_FROMHUE4 = 1804;
  438.   {$EXTERNALSYM TMT_FROMHUE4}
  439.   TMT_FROMHUE5 = 1805;
  440.   {$EXTERNALSYM TMT_FROMHUE5}
  441.   TMT_TOHUE1 = 1806;
  442.   {$EXTERNALSYM TMT_TOHUE1}
  443.   TMT_TOHUE2 = 1807;
  444.   {$EXTERNALSYM TMT_TOHUE2}
  445.   TMT_TOHUE3 = 1808;
  446.   {$EXTERNALSYM TMT_TOHUE3}
  447.   TMT_TOHUE4 = 1809;
  448.   {$EXTERNALSYM TMT_TOHUE4}
  449.   TMT_TOHUE5 = 1810;
  450.   {$EXTERNALSYM TMT_TOHUE5}
  451.   //---- color substitutions ----
  452.   TMT_FROMCOLOR1 = 2001;
  453.   {$EXTERNALSYM TMT_FROMCOLOR1}
  454.   TMT_FROMCOLOR2 = 2002;
  455.   {$EXTERNALSYM TMT_FROMCOLOR2}
  456.   TMT_FROMCOLOR3 = 2003;
  457.   {$EXTERNALSYM TMT_FROMCOLOR3}
  458.   TMT_FROMCOLOR4 = 2004;
  459.   {$EXTERNALSYM TMT_FROMCOLOR4}
  460.   TMT_FROMCOLOR5 = 2005;
  461.   {$EXTERNALSYM TMT_FROMCOLOR5}
  462.   TMT_TOCOLOR1 = 2006;
  463.   {$EXTERNALSYM TMT_TOCOLOR1}
  464.   TMT_TOCOLOR2 = 2007;
  465.   {$EXTERNALSYM TMT_TOCOLOR2}
  466.   TMT_TOCOLOR3 = 2008;
  467.   {$EXTERNALSYM TMT_TOCOLOR3}
  468.   TMT_TOCOLOR4 = 2009;
  469.   {$EXTERNALSYM TMT_TOCOLOR4}
  470.   TMT_TOCOLOR5 = 2010;
  471.   {$EXTERNALSYM TMT_TOCOLOR5}
  472.   //---- rendering BOOL properties ----
  473.   TMT_TRANSPARENT = 2201;
  474.   {$EXTERNALSYM TMT_TRANSPARENT}
  475.   TMT_AUTOSIZE = 2202;
  476.   {$EXTERNALSYM TMT_AUTOSIZE}
  477.   TMT_BORDERONLY = 2203;
  478.   {$EXTERNALSYM TMT_BORDERONLY}
  479.   TMT_COMPOSITED = 2204;
  480.   {$EXTERNALSYM TMT_COMPOSITED}
  481.   TMT_BGFILL = 2205;
  482.   {$EXTERNALSYM TMT_BGFILL}
  483.   TMT_GLYPHTRANSPARENT = 2206;
  484.   {$EXTERNALSYM TMT_GLYPHTRANSPARENT}
  485.   TMT_GLYPHONLY = 2207;
  486.   {$EXTERNALSYM TMT_GLYPHONLY}
  487.   TMT_ALWAYSSHOWSIZINGBAR = 2208;
  488.   {$EXTERNALSYM TMT_ALWAYSSHOWSIZINGBAR}
  489.   TMT_MIRRORIMAGE = 2209;
  490.   {$EXTERNALSYM TMT_MIRRORIMAGE}
  491.   TMT_UNIFORMSIZING = 2210;
  492.   {$EXTERNALSYM TMT_UNIFORMSIZING}
  493.   TMT_INTEGRALSIZING = 2211;
  494.   {$EXTERNALSYM TMT_INTEGRALSIZING}
  495.   TMT_SOURCEGROW = 2212;
  496.   {$EXTERNALSYM TMT_SOURCEGROW}
  497.   TMT_SOURCESHRINK = 2213;
  498.   {$EXTERNALSYM TMT_SOURCESHRINK}
  499.   //---- rendering INT properties ----
  500.   TMT_IMAGECOUNT = 2401;
  501.   {$EXTERNALSYM TMT_IMAGECOUNT}
  502.   TMT_ALPHALEVEL = 2402;
  503.   {$EXTERNALSYM TMT_ALPHALEVEL}
  504.   TMT_BORDERSIZE = 2403;
  505.   {$EXTERNALSYM TMT_BORDERSIZE}
  506.   TMT_ROUNDCORNERWIDTH = 2404;
  507.   {$EXTERNALSYM TMT_ROUNDCORNERWIDTH}
  508.   TMT_ROUNDCORNERHEIGHT = 2405;
  509.   {$EXTERNALSYM TMT_ROUNDCORNERHEIGHT}
  510.   TMT_GRADIENTRATIO1 = 2406;
  511.   {$EXTERNALSYM TMT_GRADIENTRATIO1}
  512.   TMT_GRADIENTRATIO2 = 2407;
  513.   {$EXTERNALSYM TMT_GRADIENTRATIO2}
  514.   TMT_GRADIENTRATIO3 = 2408;
  515.   {$EXTERNALSYM TMT_GRADIENTRATIO3}
  516.   TMT_GRADIENTRATIO4 = 2409;
  517.   {$EXTERNALSYM TMT_GRADIENTRATIO4}
  518.   TMT_GRADIENTRATIO5 = 2410;
  519.   {$EXTERNALSYM TMT_GRADIENTRATIO5}
  520.   TMT_PROGRESSCHUNKSIZE = 2411;
  521.   {$EXTERNALSYM TMT_PROGRESSCHUNKSIZE}
  522.   TMT_PROGRESSSPACESIZE = 2412;
  523.   {$EXTERNALSYM TMT_PROGRESSSPACESIZE}
  524.   TMT_SATURATION = 2413;
  525.   {$EXTERNALSYM TMT_SATURATION}
  526.   TMT_TEXTBORDERSIZE = 2414;
  527.   {$EXTERNALSYM TMT_TEXTBORDERSIZE}
  528.   TMT_ALPHATHRESHOLD = 2415;
  529.   {$EXTERNALSYM TMT_ALPHATHRESHOLD}
  530.   TMT_WIDTH = 2416;
  531.   {$EXTERNALSYM TMT_WIDTH}
  532.   TMT_HEIGHT = 2417;
  533.   {$EXTERNALSYM TMT_HEIGHT}
  534.   TMT_GLYPHINDEX = 2418;
  535.   {$EXTERNALSYM TMT_GLYPHINDEX}
  536.   TMT_TRUESIZESTRETCHMARK = 2419;
  537.   {$EXTERNALSYM TMT_TRUESIZESTRETCHMARK}
  538.   TMT_MINDPI1 = 2420;
  539.   {$EXTERNALSYM TMT_MINDPI1}
  540.   TMT_MINDPI2 = 2421;
  541.   {$EXTERNALSYM TMT_MINDPI2}
  542.   TMT_MINDPI3 = 2422;
  543.   {$EXTERNALSYM TMT_MINDPI3}
  544.   TMT_MINDPI4 = 2423;
  545.   {$EXTERNALSYM TMT_MINDPI4}
  546.   TMT_MINDPI5 = 2424;
  547.   {$EXTERNALSYM TMT_MINDPI5}
  548.   //---- rendering FONT properties ----
  549.   TMT_GLYPHFONT = 2601;
  550.   {$EXTERNALSYM TMT_GLYPHFONT}
  551.   //---- rendering INTLIST properties ----
  552.   // start with 2801
  553.                                               // (from smallest to largest)
  554.   //---- rendering FILENAME properties ----
  555.   TMT_IMAGEFILE = 3001;
  556.   {$EXTERNALSYM TMT_IMAGEFILE}
  557.   TMT_IMAGEFILE1 = 3002;
  558.   {$EXTERNALSYM TMT_IMAGEFILE1}
  559.   TMT_IMAGEFILE2 = 3003;
  560.   {$EXTERNALSYM TMT_IMAGEFILE2}
  561.   TMT_IMAGEFILE3 = 3004;
  562.   {$EXTERNALSYM TMT_IMAGEFILE3}
  563.   TMT_IMAGEFILE4 = 3005;
  564.   {$EXTERNALSYM TMT_IMAGEFILE4}
  565.   TMT_IMAGEFILE5 = 3006;
  566.   {$EXTERNALSYM TMT_IMAGEFILE5}
  567.   TMT_STOCKIMAGEFILE = 3007;
  568.   {$EXTERNALSYM TMT_STOCKIMAGEFILE}
  569.   TMT_GLYPHIMAGEFILE = 3008;
  570.   {$EXTERNALSYM TMT_GLYPHIMAGEFILE}
  571.   //---- rendering STRING properties ----
  572.   TMT_TEXT = 3201;
  573.   {$EXTERNALSYM TMT_TEXT}
  574.   //---- rendering POSITION (x and y values) properties ----
  575.   TMT_OFFSET = 3401;
  576.   {$EXTERNALSYM TMT_OFFSET}
  577.   TMT_TEXTSHADOWOFFSET = 3402;
  578.   {$EXTERNALSYM TMT_TEXTSHADOWOFFSET}
  579.   TMT_MINSIZE = 3403;
  580.   {$EXTERNALSYM TMT_MINSIZE}
  581.   TMT_MINSIZE1 = 3404;
  582.   {$EXTERNALSYM TMT_MINSIZE1}
  583.   TMT_MINSIZE2 = 3405;
  584.   {$EXTERNALSYM TMT_MINSIZE2}
  585.   TMT_MINSIZE3 = 3406;
  586.   {$EXTERNALSYM TMT_MINSIZE3}
  587.   TMT_MINSIZE4 = 3407;
  588.   {$EXTERNALSYM TMT_MINSIZE4}
  589.   TMT_MINSIZE5 = 3408;
  590.   {$EXTERNALSYM TMT_MINSIZE5}
  591.   TMT_NORMALSIZE = 3409;
  592.   {$EXTERNALSYM TMT_NORMALSIZE}
  593.   //---- rendering MARGIN properties ----
  594.   TMT_SIZINGMARGINS = 3601;
  595.   {$EXTERNALSYM TMT_SIZINGMARGINS}
  596.   TMT_CONTENTMARGINS = 3602;
  597.   {$EXTERNALSYM TMT_CONTENTMARGINS}
  598.   TMT_CAPTIONMARGINS = 3603;
  599.   {$EXTERNALSYM TMT_CAPTIONMARGINS}
  600.   //---- rendering COLOR properties ----
  601.   TMT_BORDERCOLOR = 3801;
  602.   {$EXTERNALSYM TMT_BORDERCOLOR}
  603.   TMT_FILLCOLOR = 3802;
  604.   {$EXTERNALSYM TMT_FILLCOLOR}
  605.   TMT_TEXTCOLOR = 3803;
  606.   {$EXTERNALSYM TMT_TEXTCOLOR}
  607.   TMT_EDGELIGHTCOLOR = 3804;
  608.   {$EXTERNALSYM TMT_EDGELIGHTCOLOR}
  609.   TMT_EDGEHIGHLIGHTCOLOR = 3805;
  610.   {$EXTERNALSYM TMT_EDGEHIGHLIGHTCOLOR}
  611.   TMT_EDGESHADOWCOLOR = 3806;
  612.   {$EXTERNALSYM TMT_EDGESHADOWCOLOR}
  613.   TMT_EDGEDKSHADOWCOLOR = 3807;
  614.   {$EXTERNALSYM TMT_EDGEDKSHADOWCOLOR}
  615.   TMT_EDGEFILLCOLOR = 3808;
  616.   {$EXTERNALSYM TMT_EDGEFILLCOLOR}
  617.   TMT_TRANSPARENTCOLOR = 3809;
  618.   {$EXTERNALSYM TMT_TRANSPARENTCOLOR}
  619.   TMT_GRADIENTCOLOR1 = 3810;
  620.   {$EXTERNALSYM TMT_GRADIENTCOLOR1}
  621.   TMT_GRADIENTCOLOR2 = 3811;
  622.   {$EXTERNALSYM TMT_GRADIENTCOLOR2}
  623.   TMT_GRADIENTCOLOR3 = 3812;
  624.   {$EXTERNALSYM TMT_GRADIENTCOLOR3}
  625.   TMT_GRADIENTCOLOR4 = 3813;
  626.   {$EXTERNALSYM TMT_GRADIENTCOLOR4}
  627.   TMT_GRADIENTCOLOR5 = 3814;
  628.   {$EXTERNALSYM TMT_GRADIENTCOLOR5}
  629.   TMT_SHADOWCOLOR = 3815;
  630.   {$EXTERNALSYM TMT_SHADOWCOLOR}
  631.   TMT_GLOWCOLOR = 3816;
  632.   {$EXTERNALSYM TMT_GLOWCOLOR}
  633.   TMT_TEXTBORDERCOLOR = 3817;
  634.   {$EXTERNALSYM TMT_TEXTBORDERCOLOR}
  635.   TMT_TEXTSHADOWCOLOR = 3818;
  636.   {$EXTERNALSYM TMT_TEXTSHADOWCOLOR}
  637.   TMT_GLYPHTEXTCOLOR = 3819;
  638.   {$EXTERNALSYM TMT_GLYPHTEXTCOLOR}
  639.   TMT_GLYPHTRANSPARENTCOLOR = 3820;
  640.   {$EXTERNALSYM TMT_GLYPHTRANSPARENTCOLOR}
  641.   TMT_FILLCOLORHINT = 3821;
  642.   {$EXTERNALSYM TMT_FILLCOLORHINT}
  643.   TMT_BORDERCOLORHINT = 3822;
  644.   {$EXTERNALSYM TMT_BORDERCOLORHINT}
  645.   TMT_ACCENTCOLORHINT = 3823;
  646.   {$EXTERNALSYM TMT_ACCENTCOLORHINT}
  647.   //---- rendering enum properties (must be declared in TM_ENUM section above) ----
  648.   TMT_BGTYPE = 4001;
  649.   {$EXTERNALSYM TMT_BGTYPE}
  650.   TMT_BORDERTYPE = 4002;
  651.   {$EXTERNALSYM TMT_BORDERTYPE}
  652.   TMT_FILLTYPE = 4003;
  653.   {$EXTERNALSYM TMT_FILLTYPE}
  654.   TMT_SIZINGTYPE = 4004;
  655.   {$EXTERNALSYM TMT_SIZINGTYPE}
  656.   TMT_HALIGN = 4005;
  657.   {$EXTERNALSYM TMT_HALIGN}
  658.   TMT_CONTENTALIGNMENT = 4006;
  659.   {$EXTERNALSYM TMT_CONTENTALIGNMENT}
  660.   TMT_VALIGN = 4007;
  661.   {$EXTERNALSYM TMT_VALIGN}
  662.   TMT_OFFSETTYPE = 4008;
  663.   {$EXTERNALSYM TMT_OFFSETTYPE}
  664.   TMT_ICONEFFECT = 4009;
  665.   {$EXTERNALSYM TMT_ICONEFFECT}
  666.   TMT_TEXTSHADOWTYPE = 4010;
  667.   {$EXTERNALSYM TMT_TEXTSHADOWTYPE}
  668.   TMT_IMAGELAYOUT = 4011;
  669.   {$EXTERNALSYM TMT_IMAGELAYOUT}
  670.   TMT_GLYPHTYPE = 4012;
  671.   {$EXTERNALSYM TMT_GLYPHTYPE}
  672.   TMT_IMAGESELECTTYPE = 4013;
  673.   {$EXTERNALSYM TMT_IMAGESELECTTYPE}
  674.   TMT_GLYPHFONTSIZINGTYPE = 4014;
  675.   {$EXTERNALSYM TMT_GLYPHFONTSIZINGTYPE}
  676.   TMT_TRUESIZESCALINGTYPE = 4015;
  677.   {$EXTERNALSYM TMT_TRUESIZESCALINGTYPE}
  678.   //---- custom properties (used only by controls/shell) ----
  679.   TMT_USERPICTURE = 5001;
  680.   {$EXTERNALSYM TMT_USERPICTURE}
  681.   TMT_DEFAULTPANESIZE = 5002;
  682.   {$EXTERNALSYM TMT_DEFAULTPANESIZE}
  683.   TMT_BLENDCOLOR = 5003;
  684.   {$EXTERNALSYM TMT_BLENDCOLOR}
  685. //---------------------------------------------------------------------------------------
  686. //   "Window" (i.e., non-client) Parts & States
  687. //
  688. //    these cannot be renumbered (part of uxtheme API)
  689. //---------------------------------------------------------------------------------------
  690. type
  691.   WINDOWPARTS = DWORD;
  692.   {$EXTERNALSYM WINDOWPARTS}
  693. const
  694.   WINDOWPartFiller0                  = 0;
  695.   {$EXTERNALSYM WINDOWPartFiller0}
  696.   WP_CAPTION                         = 1;
  697.   {$EXTERNALSYM WP_CAPTION}
  698.   WP_SMALLCAPTION                    = 2;
  699.   {$EXTERNALSYM WP_SMALLCAPTION}
  700.   WP_MINCAPTION                      = 3;
  701.   {$EXTERNALSYM WP_MINCAPTION}
  702.   WP_SMALLMINCAPTION                 = 4;
  703.   {$EXTERNALSYM WP_SMALLMINCAPTION}
  704.   WP_MAXCAPTION                      = 5;
  705.   {$EXTERNALSYM WP_MAXCAPTION}
  706.   WP_SMALLMAXCAPTION                 = 6;
  707.   {$EXTERNALSYM WP_SMALLMAXCAPTION}
  708.   WP_FRAMELEFT                       = 7;
  709.   {$EXTERNALSYM WP_FRAMELEFT}
  710.   WP_FRAMERIGHT                      = 8;
  711.   {$EXTERNALSYM WP_FRAMERIGHT}
  712.   WP_FRAMEBOTTOM                     = 9;
  713.   {$EXTERNALSYM WP_FRAMEBOTTOM}
  714.   WP_SMALLFRAMELEFT                  = 10;
  715.   {$EXTERNALSYM WP_SMALLFRAMELEFT}
  716.   WP_SMALLFRAMERIGHT                 = 11;
  717.   {$EXTERNALSYM WP_SMALLFRAMERIGHT}
  718.   WP_SMALLFRAMEBOTTOM                = 12;
  719.   {$EXTERNALSYM WP_SMALLFRAMEBOTTOM}
  720.   WP_SYSBUTTON                       = 13;
  721.   {$EXTERNALSYM WP_SYSBUTTON}
  722.   WP_MDISYSBUTTON                    = 14;
  723.   {$EXTERNALSYM WP_MDISYSBUTTON}
  724.   WP_MINBUTTON                       = 15;
  725.   {$EXTERNALSYM WP_MINBUTTON}
  726.   WP_MDIMINBUTTON                    = 16;
  727.   {$EXTERNALSYM WP_MDIMINBUTTON}
  728.   WP_MAXBUTTON                       = 17;
  729.   {$EXTERNALSYM WP_MAXBUTTON}
  730.   WP_CLOSEBUTTON                     = 18;
  731.   {$EXTERNALSYM WP_CLOSEBUTTON}
  732.   WP_SMALLCLOSEBUTTON                = 19;
  733.   {$EXTERNALSYM WP_SMALLCLOSEBUTTON}
  734.   WP_MDICLOSEBUTTON                  = 20;
  735.   {$EXTERNALSYM WP_MDICLOSEBUTTON}
  736.   WP_RESTOREBUTTON                   = 21;
  737.   {$EXTERNALSYM WP_RESTOREBUTTON}
  738.   WP_MDIRESTOREBUTTON                = 22;
  739.   {$EXTERNALSYM WP_MDIRESTOREBUTTON}
  740.   WP_HELPBUTTON                      = 23;
  741.   {$EXTERNALSYM WP_HELPBUTTON}
  742.   WP_MDIHELPBUTTON                   = 24;
  743.   {$EXTERNALSYM WP_MDIHELPBUTTON}
  744.   WP_HORZSCROLL                      = 25;
  745.   {$EXTERNALSYM WP_HORZSCROLL}
  746.   WP_HORZTHUMB                       = 26;
  747.   {$EXTERNALSYM WP_HORZTHUMB}
  748.   WP_VERTSCROLL                      = 27;
  749.   {$EXTERNALSYM WP_VERTSCROLL}
  750.   WP_VERTTHUMB                       = 28;
  751.   {$EXTERNALSYM WP_VERTTHUMB}
  752.   WP_DIALOG                          = 29;
  753.   {$EXTERNALSYM WP_DIALOG}
  754.   WP_CAPTIONSIZINGTEMPLATE           = 30;
  755.   {$EXTERNALSYM WP_CAPTIONSIZINGTEMPLATE}
  756.   WP_SMALLCAPTIONSIZINGTEMPLATE      = 31;
  757.   {$EXTERNALSYM WP_SMALLCAPTIONSIZINGTEMPLATE}
  758.   WP_FRAMELEFTSIZINGTEMPLATE         = 32;
  759.   {$EXTERNALSYM WP_FRAMELEFTSIZINGTEMPLATE}
  760.   WP_SMALLFRAMELEFTSIZINGTEMPLATE    = 33;
  761.   {$EXTERNALSYM WP_SMALLFRAMELEFTSIZINGTEMPLATE}
  762.   WP_FRAMERIGHTSIZINGTEMPLATE        = 34;
  763.   {$EXTERNALSYM WP_FRAMERIGHTSIZINGTEMPLATE}
  764.   WP_SMALLFRAMERIGHTSIZINGTEMPLATE   = 35;
  765.   {$EXTERNALSYM WP_SMALLFRAMERIGHTSIZINGTEMPLATE}
  766.   WP_FRAMEBOTTOMSIZINGTEMPLATE       = 36;
  767.   {$EXTERNALSYM WP_FRAMEBOTTOMSIZINGTEMPLATE}
  768.   WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE  = 37;
  769.   {$EXTERNALSYM WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE}
  770. type
  771.   FRAMESTATES = DWORD;
  772.   {$EXTERNALSYM FRAMESTATES}
  773. const
  774.   FRAMEStateFiller0  = 0;
  775.   {$EXTERNALSYM FRAMEStateFiller0}
  776.   FS_ACTIVE          = 1;
  777.   {$EXTERNALSYM FS_ACTIVE}
  778.   FS_INACTIVE        = 2;
  779.   {$EXTERNALSYM FS_INACTIVE}
  780. type
  781.   CAPTIONSTATES = DWORD;
  782.   {$EXTERNALSYM CAPTIONSTATES}
  783. const
  784.   CAPTIONStateFiller0  = 0;
  785.   {$EXTERNALSYM CAPTIONStateFiller0}
  786.   CS_ACTIVE            = 1;
  787.   {$EXTERNALSYM CS_ACTIVE}
  788.   CS_INACTIVE          = 2;
  789.   {$EXTERNALSYM CS_INACTIVE}
  790.   CS_DISABLED          = 3;
  791.   {$EXTERNALSYM CS_DISABLED}
  792. type
  793.   MAXCAPTIONSTATES = DWORD;
  794.   {$EXTERNALSYM MAXCAPTIONSTATES}
  795. const
  796.   MAXCAPTIONStateFiller0  = 0;
  797.   {$EXTERNALSYM MAXCAPTIONStateFiller0}
  798.   MXCS_ACTIVE             = 1;
  799.   {$EXTERNALSYM MXCS_ACTIVE}
  800.   MXCS_INACTIVE           = 2;
  801.   {$EXTERNALSYM MXCS_INACTIVE}
  802.   MXCS_DISABLED           = 3;
  803.   {$EXTERNALSYM MXCS_DISABLED}
  804. type
  805.   MINCAPTIONSTATES = DWORD;
  806.   {$EXTERNALSYM MINCAPTIONSTATES}
  807. const
  808.   MINCAPTIONStateFiller0  = 0;
  809.   {$EXTERNALSYM MINCAPTIONStateFiller0}
  810.   MNCS_ACTIVE             = 1;
  811.   {$EXTERNALSYM MNCS_ACTIVE}
  812.   MNCS_INACTIVE           = 2;
  813.   {$EXTERNALSYM MNCS_INACTIVE}
  814.   MNCS_DISABLED           = 3;
  815.   {$EXTERNALSYM MNCS_DISABLED}
  816. type
  817.   HORZSCROLLSTATES = DWORD;
  818.   {$EXTERNALSYM HORZSCROLLSTATES}
  819. const
  820.   HORZSCROLLStateFiller0  = 0;
  821.   {$EXTERNALSYM HORZSCROLLStateFiller0}
  822.   HSS_NORMAL              = 1;
  823.   {$EXTERNALSYM HSS_NORMAL}
  824.   HSS_HOT                 = 2;
  825.   {$EXTERNALSYM HSS_HOT}
  826.   HSS_PUSHED              = 3;
  827.   {$EXTERNALSYM HSS_PUSHED}
  828.   HSS_DISABLED            = 4;
  829.   {$EXTERNALSYM HSS_DISABLED}
  830. type
  831.   HORZTHUMBSTATES = DWORD;
  832.   {$EXTERNALSYM HORZTHUMBSTATES}
  833. const
  834.   HORZTHUMBStateFiller0  = 0;
  835.   {$EXTERNALSYM HORZTHUMBStateFiller0}
  836.   HTS_NORMAL             = 1;
  837.   {$EXTERNALSYM HTS_NORMAL}
  838.   HTS_HOT                = 2;
  839.   {$EXTERNALSYM HTS_HOT}
  840.   HTS_PUSHED             = 3;
  841.   {$EXTERNALSYM HTS_PUSHED}
  842.   HTS_DISABLED           = 4;
  843.   {$EXTERNALSYM HTS_DISABLED}
  844. type
  845.   VERTSCROLLSTATES = DWORD;
  846.   {$EXTERNALSYM VERTSCROLLSTATES}
  847. const
  848.   VERTSCROLLStateFiller0  = 0;
  849.   {$EXTERNALSYM VERTSCROLLStateFiller0}
  850.   VSS_NORMAL              = 1;
  851.   {$EXTERNALSYM VSS_NORMAL}
  852.   VSS_HOT                 = 2;
  853.   {$EXTERNALSYM VSS_HOT}
  854.   VSS_PUSHED              = 3;
  855.   {$EXTERNALSYM VSS_PUSHED}
  856.   VSS_DISABLED            = 4;
  857.   {$EXTERNALSYM VSS_DISABLED}
  858. type
  859.   VERTTHUMBSTATES = DWORD;
  860.   {$EXTERNALSYM VERTTHUMBSTATES}
  861. const
  862.   VERTTHUMBStateFiller0  = 0;
  863.   {$EXTERNALSYM VERTTHUMBStateFiller0}
  864.   VTS_NORMAL             = 1;
  865.   {$EXTERNALSYM VTS_NORMAL}
  866.   VTS_HOT                = 2;
  867.   {$EXTERNALSYM VTS_HOT}
  868.   VTS_PUSHED             = 3;
  869.   {$EXTERNALSYM VTS_PUSHED}
  870.   VTS_DISABLED           = 4;
  871.   {$EXTERNALSYM VTS_DISABLED}
  872. type
  873.   SYSBUTTONSTATES = DWORD;
  874.   {$EXTERNALSYM SYSBUTTONSTATES}
  875. const
  876.   SYSBUTTONStateFiller0  = 0;
  877.   {$EXTERNALSYM SYSBUTTONStateFiller0}
  878.   SBS_NORMAL             = 1;
  879.   {$EXTERNALSYM SBS_NORMAL}
  880.   SBS_HOT                = 2;
  881.   {$EXTERNALSYM SBS_HOT}
  882.   SBS_PUSHED             = 3;
  883.   {$EXTERNALSYM SBS_PUSHED}
  884.   SBS_DISABLED           = 4;
  885.   {$EXTERNALSYM SBS_DISABLED}
  886. type
  887.   MINBUTTONSTATES = DWORD;
  888.   {$EXTERNALSYM MINBUTTONSTATES}
  889. const
  890.   MINBUTTONStateFiller0  = 0;
  891.   {$EXTERNALSYM MINBUTTONStateFiller0}
  892.   MINBS_NORMAL           = 1;
  893.   {$EXTERNALSYM MINBS_NORMAL}
  894.   MINBS_HOT              = 2;
  895.   {$EXTERNALSYM MINBS_HOT}
  896.   MINBS_PUSHED           = 3;
  897.   {$EXTERNALSYM MINBS_PUSHED}
  898.   MINBS_DISABLED         = 4;
  899.   {$EXTERNALSYM MINBS_DISABLED}
  900. type
  901.   MAXBUTTONSTATES = DWORD;
  902.   {$EXTERNALSYM MAXBUTTONSTATES}
  903. const
  904.   MAXBUTTONStateFiller0  = 0;
  905.   {$EXTERNALSYM MAXBUTTONStateFiller0}
  906.   MAXBS_NORMAL           = 1;
  907.   {$EXTERNALSYM MAXBS_NORMAL}
  908.   MAXBS_HOT              = 2;
  909.   {$EXTERNALSYM MAXBS_HOT}
  910.   MAXBS_PUSHED           = 3;
  911.   {$EXTERNALSYM MAXBS_PUSHED}
  912.   MAXBS_DISABLED         = 4;
  913.   {$EXTERNALSYM MAXBS_DISABLED}
  914. type
  915.   RESTOREBUTTONSTATES = DWORD;
  916.   {$EXTERNALSYM RESTOREBUTTONSTATES}
  917. const
  918.   RESTOREBUTTONStateFiller0  = 0;
  919.   {$EXTERNALSYM RESTOREBUTTONStateFiller0}
  920.   RBS_NORMAL                 = 1;
  921.   {$EXTERNALSYM RBS_NORMAL}
  922.   RBS_HOT                    = 2;
  923.   {$EXTERNALSYM RBS_HOT}
  924.   RBS_PUSHED                 = 3;
  925.   {$EXTERNALSYM RBS_PUSHED}
  926.   RBS_DISABLED               = 4;
  927.   {$EXTERNALSYM RBS_DISABLED}
  928. type
  929.   HELPBUTTONSTATES = DWORD;
  930.   {$EXTERNALSYM HELPBUTTONSTATES}
  931. const
  932.   HELPBUTTONStateFiller0  = 0;
  933.   {$EXTERNALSYM HELPBUTTONStateFiller0}
  934.   HBS_NORMAL              = 1;
  935.   {$EXTERNALSYM HBS_NORMAL}
  936.   HBS_HOT                 = 2;
  937.   {$EXTERNALSYM HBS_HOT}
  938.   HBS_PUSHED              = 3;
  939.   {$EXTERNALSYM HBS_PUSHED}
  940.   HBS_DISABLED            = 4;
  941.   {$EXTERNALSYM HBS_DISABLED}
  942. type
  943.   CLOSEBUTTONSTATES = DWORD;
  944.   {$EXTERNALSYM CLOSEBUTTONSTATES}
  945. const
  946.   CLOSEBUTTONStateFiller0  = 0;
  947.   {$EXTERNALSYM CLOSEBUTTONStateFiller0}
  948.   CBS_NORMAL               = 1;
  949.   {$EXTERNALSYM CBS_NORMAL}
  950.   CBS_HOT                  = 2;
  951.   {$EXTERNALSYM CBS_HOT}
  952.   CBS_PUSHED               = 3;
  953.   {$EXTERNALSYM CBS_PUSHED}
  954.   CBS_DISABLED             = 4;
  955.   {$EXTERNALSYM CBS_DISABLED}
  956. //---------------------------------------------------------------------------------------
  957. //   "Button" Parts & States
  958. //---------------------------------------------------------------------------------------
  959. type
  960.   BUTTONPARTS = DWORD;
  961.   {$EXTERNALSYM BUTTONPARTS}
  962. const
  963.   BUTTONPartFiller0  = 0;
  964.   {$EXTERNALSYM BUTTONPartFiller0}
  965.   BP_PUSHBUTTON      = 1;
  966.   {$EXTERNALSYM BP_PUSHBUTTON}
  967.   BP_RADIOBUTTON     = 2;
  968.   {$EXTERNALSYM BP_RADIOBUTTON}
  969.   BP_CHECKBOX        = 3;
  970.   {$EXTERNALSYM BP_CHECKBOX}
  971.   BP_GROUPBOX        = 4;
  972.   {$EXTERNALSYM BP_GROUPBOX}
  973.   BP_USERBUTTON      = 5;
  974.   {$EXTERNALSYM BP_USERBUTTON}
  975. type
  976.   PUSHBUTTONSTATES = DWORD;
  977.   {$EXTERNALSYM PUSHBUTTONSTATES}
  978. const
  979.   PUSHBUTTONStateFiller0  = 0;
  980.   {$EXTERNALSYM PUSHBUTTONStateFiller0}
  981.   PBS_NORMAL              = 1;
  982.   {$EXTERNALSYM PBS_NORMAL}
  983.   PBS_HOT                 = 2;
  984.   {$EXTERNALSYM PBS_HOT}
  985.   PBS_PRESSED             = 3;
  986.   {$EXTERNALSYM PBS_PRESSED}
  987.   PBS_DISABLED            = 4;
  988.   {$EXTERNALSYM PBS_DISABLED}
  989.   PBS_DEFAULTED           = 5;
  990.   {$EXTERNALSYM PBS_DEFAULTED}
  991. type
  992.   RADIOBUTTONSTATES = DWORD;
  993.   {$EXTERNALSYM RADIOBUTTONSTATES}
  994. const
  995.   RADIOBUTTONStateFiller0  = 0;
  996.   {$EXTERNALSYM RADIOBUTTONStateFiller0}
  997.   RBS_UNCHECKEDNORMAL      = 1;
  998.   {$EXTERNALSYM RBS_UNCHECKEDNORMAL}
  999.   RBS_UNCHECKEDHOT         = 2;
  1000.   {$EXTERNALSYM RBS_UNCHECKEDHOT}
  1001.   RBS_UNCHECKEDPRESSED     = 3;
  1002.   {$EXTERNALSYM RBS_UNCHECKEDPRESSED}
  1003.   RBS_UNCHECKEDDISABLED    = 4;
  1004.   {$EXTERNALSYM RBS_UNCHECKEDDISABLED}
  1005.   RBS_CHECKEDNORMAL        = 5;
  1006.   {$EXTERNALSYM RBS_CHECKEDNORMAL}
  1007.   RBS_CHECKEDHOT           = 6;
  1008.   {$EXTERNALSYM RBS_CHECKEDHOT}
  1009.   RBS_CHECKEDPRESSED       = 7;
  1010.   {$EXTERNALSYM RBS_CHECKEDPRESSED}
  1011.   RBS_CHECKEDDISABLED      = 8;
  1012.   {$EXTERNALSYM RBS_CHECKEDDISABLED}
  1013. type
  1014.   CHECKBOXSTATES = DWORD;
  1015.   {$EXTERNALSYM CHECKBOXSTATES}
  1016. const
  1017.   CHECKBOXStateFiller0   = 0;
  1018.   {$EXTERNALSYM CHECKBOXStateFiller0}
  1019.   CBS_UNCHECKEDNORMAL    = 1;
  1020.   {$EXTERNALSYM CBS_UNCHECKEDNORMAL}
  1021.   CBS_UNCHECKEDHOT       = 2;
  1022.   {$EXTERNALSYM CBS_UNCHECKEDHOT}
  1023.   CBS_UNCHECKEDPRESSED   = 3;
  1024.   {$EXTERNALSYM CBS_UNCHECKEDPRESSED}
  1025.   CBS_UNCHECKEDDISABLED  = 4;
  1026.   {$EXTERNALSYM CBS_UNCHECKEDDISABLED}
  1027.   CBS_CHECKEDNORMAL      = 5;
  1028.   {$EXTERNALSYM CBS_CHECKEDNORMAL}
  1029.   CBS_CHECKEDHOT         = 6;
  1030.   {$EXTERNALSYM CBS_CHECKEDHOT}
  1031.   CBS_CHECKEDPRESSED     = 7;
  1032.   {$EXTERNALSYM CBS_CHECKEDPRESSED}
  1033.   CBS_CHECKEDDISABLED    = 8;
  1034.   {$EXTERNALSYM CBS_CHECKEDDISABLED}
  1035.   CBS_MIXEDNORMAL        = 9;
  1036.   {$EXTERNALSYM CBS_MIXEDNORMAL}
  1037.   CBS_MIXEDHOT           = 10;
  1038.   {$EXTERNALSYM CBS_MIXEDHOT}
  1039.   CBS_MIXEDPRESSED       = 11;
  1040.   {$EXTERNALSYM CBS_MIXEDPRESSED}
  1041.   CBS_MIXEDDISABLED      = 12;
  1042.   {$EXTERNALSYM CBS_MIXEDDISABLED}
  1043. type
  1044.   GROUPBOXSTATES = DWORD;
  1045.   {$EXTERNALSYM GROUPBOXSTATES}
  1046. const
  1047.   GROUPBOXStateFiller0  = 0;
  1048.   {$EXTERNALSYM GROUPBOXStateFiller0}
  1049.   GBS_NORMAL            = 1;
  1050.   {$EXTERNALSYM GBS_NORMAL}
  1051.   GBS_DISABLED          = 2;
  1052.   {$EXTERNALSYM GBS_DISABLED}
  1053. //---------------------------------------------------------------------------------------
  1054. //   "Rebar" Parts & States
  1055. //---------------------------------------------------------------------------------------
  1056. type
  1057.   REBARPARTS = DWORD;
  1058.   {$EXTERNALSYM REBARPARTS}
  1059. const
  1060.   REBARPartFiller0  = 0;
  1061.   {$EXTERNALSYM REBARPartFiller0}
  1062.   RP_GRIPPER        = 1;
  1063.   {$EXTERNALSYM RP_GRIPPER}
  1064.   RP_GRIPPERVERT    = 2;
  1065.   {$EXTERNALSYM RP_GRIPPERVERT}
  1066.   RP_BAND           = 3;
  1067.   {$EXTERNALSYM RP_BAND}
  1068.   RP_CHEVRON        = 4;
  1069.   {$EXTERNALSYM RP_CHEVRON}
  1070.   RP_CHEVRONVERT    = 5;
  1071.   {$EXTERNALSYM RP_CHEVRONVERT}
  1072. type
  1073.   CHEVRONSTATES = DWORD;
  1074.   {$EXTERNALSYM CHEVRONSTATES}
  1075. const
  1076.   CHEVRONStateFiller0  = 0;
  1077.   {$EXTERNALSYM CHEVRONStateFiller0}
  1078.   CHEVS_NORMAL         = 1;
  1079.   {$EXTERNALSYM CHEVS_NORMAL}
  1080.   CHEVS_HOT            = 2;
  1081.   {$EXTERNALSYM CHEVS_HOT}
  1082.   CHEVS_PRESSED        = 3;
  1083.   {$EXTERNALSYM CHEVS_PRESSED}
  1084. //---------------------------------------------------------------------------------------
  1085. //   "Toolbar" Parts & States
  1086. //---------------------------------------------------------------------------------------
  1087. type
  1088.   TOOLBARPARTS = DWORD;
  1089.   {$EXTERNALSYM TOOLBARPARTS}
  1090. const
  1091.   TOOLBARPartFiller0      = 0;
  1092.   {$EXTERNALSYM TOOLBARPartFiller0}
  1093.   TP_BUTTON               = 1;
  1094.   {$EXTERNALSYM TP_BUTTON}
  1095.   TP_DROPDOWNBUTTON       = 2;
  1096.   {$EXTERNALSYM TP_DROPDOWNBUTTON}
  1097.   TP_SPLITBUTTON          = 3;
  1098.   {$EXTERNALSYM TP_SPLITBUTTON}
  1099.   TP_SPLITBUTTONDROPDOWN  = 4;
  1100.   {$EXTERNALSYM TP_SPLITBUTTONDROPDOWN}
  1101.   TP_SEPARATOR            = 5;
  1102.   {$EXTERNALSYM TP_SEPARATOR}
  1103.   TP_SEPARATORVERT        = 6;
  1104.   {$EXTERNALSYM TP_SEPARATORVERT}
  1105. type
  1106.   TOOLBARSTATES = DWORD;
  1107.   {$EXTERNALSYM TOOLBARSTATES}
  1108. const
  1109.   TOOLBARStateFiller0  = 0;
  1110.   {$EXTERNALSYM TOOLBARStateFiller0}
  1111.   TS_NORMAL            = 1;
  1112.   {$EXTERNALSYM TS_NORMAL}
  1113.   TS_HOT               = 2;
  1114.   {$EXTERNALSYM TS_HOT}
  1115.   TS_PRESSED           = 3;
  1116.   {$EXTERNALSYM TS_PRESSED}
  1117.   TS_DISABLED          = 4;
  1118.   {$EXTERNALSYM TS_DISABLED}
  1119.   TS_CHECKED           = 5;
  1120.   {$EXTERNALSYM TS_CHECKED}
  1121.   TS_HOTCHECKED        = 6;
  1122.   {$EXTERNALSYM TS_HOTCHECKED}
  1123. //---------------------------------------------------------------------------------------
  1124. //   "Status" Parts & States
  1125. //---------------------------------------------------------------------------------------
  1126. type
  1127.   STATUSPARTS = DWORD;
  1128.   {$EXTERNALSYM STATUSPARTS}
  1129. const
  1130.   STATUSPartFiller0  = 0;
  1131.   {$EXTERNALSYM STATUSPartFiller0}
  1132.   SP_PANE            = 1;
  1133.   {$EXTERNALSYM SP_PANE}
  1134.   SP_GRIPPERPANE     = 2;
  1135.   {$EXTERNALSYM SP_GRIPPERPANE}
  1136.   SP_GRIPPER         = 3;
  1137.   {$EXTERNALSYM SP_GRIPPER}
  1138. //---------------------------------------------------------------------------------------
  1139. //   "Menu" Parts & States
  1140. //---------------------------------------------------------------------------------------
  1141. type
  1142.   MENUPARTS = DWORD;
  1143.   {$EXTERNALSYM MENUPARTS}
  1144. const
  1145.   MENUPartFiller0     = 0;
  1146.   {$EXTERNALSYM MENUPartFiller0}
  1147.   MP_MENUITEM         = 1;
  1148.   {$EXTERNALSYM MP_MENUITEM}
  1149.   MP_MENUDROPDOWN     = 2;
  1150.   {$EXTERNALSYM MP_MENUDROPDOWN}
  1151.   MP_MENUBARITEM      = 3;
  1152.   {$EXTERNALSYM MP_MENUBARITEM}
  1153.   MP_MENUBARDROPDOWN  = 4;
  1154.   {$EXTERNALSYM MP_MENUBARDROPDOWN}
  1155.   MP_CHEVRON          = 5;
  1156.   {$EXTERNALSYM MP_CHEVRON}
  1157.   MP_SEPARATOR        = 6;
  1158.   {$EXTERNALSYM MP_SEPARATOR}
  1159. type
  1160.   MENUSTATES = DWORD;
  1161.   {$EXTERNALSYM MENUSTATES}
  1162. const
  1163.   MENUStateFiller0  = 0;
  1164.   {$EXTERNALSYM MENUStateFiller0}
  1165.   MS_NORMAL         = 1;
  1166.   {$EXTERNALSYM MS_NORMAL}
  1167.   MS_SELECTED       = 2;
  1168.   {$EXTERNALSYM MS_SELECTED}
  1169.   MS_DEMOTED        = 3;
  1170.   {$EXTERNALSYM MS_DEMOTED}
  1171. //---------------------------------------------------------------------------------------
  1172. //   "ListView" Parts & States
  1173. //---------------------------------------------------------------------------------------
  1174. type
  1175.   LISTVIEWPARTS = DWORD;
  1176.   {$EXTERNALSYM LISTVIEWPARTS}
  1177. const
  1178.   LISTVIEWPartFiller0   = 0;
  1179.   {$EXTERNALSYM LISTVIEWPartFiller0}
  1180.   LVP_LISTITEM          = 1;
  1181.   {$EXTERNALSYM LVP_LISTITEM}
  1182.   LVP_LISTGROUP         = 2;
  1183.   {$EXTERNALSYM LVP_LISTGROUP}
  1184.   LVP_LISTDETAIL        = 3;
  1185.   {$EXTERNALSYM LVP_LISTDETAIL}
  1186.   LVP_LISTSORTEDDETAIL  = 4;
  1187.   {$EXTERNALSYM LVP_LISTSORTEDDETAIL}
  1188.   LVP_EMPTYTEXT         = 5;
  1189.   {$EXTERNALSYM LVP_EMPTYTEXT}
  1190. type
  1191.   LISTITEMSTATES = DWORD;
  1192.   {$EXTERNALSYM LISTITEMSTATES}
  1193. const
  1194.   LISTITEMStateFiller0  = 0;
  1195.   {$EXTERNALSYM LISTITEMStateFiller0}
  1196.   LIS_NORMAL            = 1;
  1197.   {$EXTERNALSYM LIS_NORMAL}
  1198.   LIS_HOT               = 2;
  1199.   {$EXTERNALSYM LIS_HOT}
  1200.   LIS_SELECTED          = 3;
  1201.   {$EXTERNALSYM LIS_SELECTED}
  1202.   LIS_DISABLED          = 4;
  1203.   {$EXTERNALSYM LIS_DISABLED}
  1204.   LIS_SELECTEDNOTFOCUS  = 5;
  1205.   {$EXTERNALSYM LIS_SELECTEDNOTFOCUS}
  1206. //---------------------------------------------------------------------------------------
  1207. //   "Header" Parts & States
  1208. //---------------------------------------------------------------------------------------
  1209. type
  1210.   HEADERPARTS = DWORD;
  1211.   {$EXTERNALSYM HEADERPARTS}
  1212. const
  1213.   HEADERPartFiller0   = 0;
  1214.   {$EXTERNALSYM HEADERPartFiller0}
  1215.   HP_HEADERITEM       = 1;
  1216.   {$EXTERNALSYM HP_HEADERITEM}
  1217.   HP_HEADERITEMLEFT   = 2;
  1218.   {$EXTERNALSYM HP_HEADERITEMLEFT}
  1219.   HP_HEADERITEMRIGHT  = 3;
  1220.   {$EXTERNALSYM HP_HEADERITEMRIGHT}
  1221.   HP_HEADERSORTARROW  = 4;
  1222.   {$EXTERNALSYM HP_HEADERSORTARROW}
  1223. type
  1224.   HEADERITEMSTATES = DWORD;
  1225.   {$EXTERNALSYM HEADERITEMSTATES}
  1226. const
  1227.   HEADERITEMStateFiller0  = 0;
  1228.   {$EXTERNALSYM HEADERITEMStateFiller0}
  1229.   HIS_NORMAL              = 1;
  1230.   {$EXTERNALSYM HIS_NORMAL}
  1231.   HIS_HOT                 = 2;
  1232.   {$EXTERNALSYM HIS_HOT}
  1233.   HIS_PRESSED             = 3;
  1234.   {$EXTERNALSYM HIS_PRESSED}
  1235. type
  1236.   HEADERITEMLEFTSTATES = DWORD;
  1237.   {$EXTERNALSYM HEADERITEMLEFTSTATES}
  1238. const
  1239.   HEADERITEMLEFTStateFiller0  = 0;
  1240.   {$EXTERNALSYM HEADERITEMLEFTStateFiller0}
  1241.   HILS_NORMAL                 = 1;
  1242.   {$EXTERNALSYM HILS_NORMAL}
  1243.   HILS_HOT                    = 2;
  1244.   {$EXTERNALSYM HILS_HOT}
  1245.   HILS_PRESSED                = 3;
  1246.   {$EXTERNALSYM HILS_PRESSED}
  1247. type
  1248.   HEADERITEMRIGHTSTATES = DWORD;
  1249.   {$EXTERNALSYM HEADERITEMRIGHTSTATES}
  1250. const
  1251.   HEADERITEMRIGHTStateFiller0  = 0;
  1252.   {$EXTERNALSYM HEADERITEMRIGHTStateFiller0}
  1253.   HIRS_NORMAL                  = 1;
  1254.   {$EXTERNALSYM HIRS_NORMAL}
  1255.   HIRS_HOT                     = 2;
  1256.   {$EXTERNALSYM HIRS_HOT}
  1257.   HIRS_PRESSED                 = 3;
  1258.   {$EXTERNALSYM HIRS_PRESSED}
  1259. type
  1260.   HEADERSORTARROWSTATES = DWORD;
  1261.   {$EXTERNALSYM HEADERSORTARROWSTATES}
  1262. const
  1263.   HEADERSORTARROWStateFiller0  = 0;
  1264.   {$EXTERNALSYM HEADERSORTARROWStateFiller0}
  1265.   HSAS_SORTEDUP                = 1;
  1266.   {$EXTERNALSYM HSAS_SORTEDUP}
  1267.   HSAS_SORTEDDOWN              = 2;
  1268.   {$EXTERNALSYM HSAS_SORTEDDOWN}
  1269. //---------------------------------------------------------------------------------------
  1270. //   "Progress" Parts & States
  1271. //---------------------------------------------------------------------------------------
  1272. type
  1273.   PROGRESSPARTS = DWORD;
  1274.   {$EXTERNALSYM PROGRESSPARTS}
  1275. const
  1276.   PROGRESSPartFiller0  = 0;
  1277.   {$EXTERNALSYM PROGRESSPartFiller0}
  1278.   PP_BAR               = 1;
  1279.   {$EXTERNALSYM PP_BAR}
  1280.   PP_BARVERT           = 2;
  1281.   {$EXTERNALSYM PP_BARVERT}
  1282.   PP_CHUNK             = 3;
  1283.   {$EXTERNALSYM PP_CHUNK}
  1284.   PP_CHUNKVERT         = 4;
  1285.   {$EXTERNALSYM PP_CHUNKVERT}
  1286. //---------------------------------------------------------------------------------------
  1287. //   "Tab" Parts & States
  1288. //---------------------------------------------------------------------------------------
  1289. type
  1290.   TABPARTS = DWORD;
  1291.   {$EXTERNALSYM TABPARTS}
  1292. const
  1293.   TABPartFiller0            = 0;
  1294.   {$EXTERNALSYM TABPartFiller0}
  1295.   TABP_TABITEM              = 1;
  1296.   {$EXTERNALSYM TABP_TABITEM}
  1297.   TABP_TABITEMLEFTEDGE      = 2;
  1298.   {$EXTERNALSYM TABP_TABITEMLEFTEDGE}
  1299.   TABP_TABITEMRIGHTEDGE     = 3;
  1300.   {$EXTERNALSYM TABP_TABITEMRIGHTEDGE}
  1301.   TABP_TABITEMBOTHEDGE      = 4;
  1302.   {$EXTERNALSYM TABP_TABITEMBOTHEDGE}
  1303.   TABP_TOPTABITEM           = 5;
  1304.   {$EXTERNALSYM TABP_TOPTABITEM}
  1305.   TABP_TOPTABITEMLEFTEDGE   = 6;
  1306.   {$EXTERNALSYM TABP_TOPTABITEMLEFTEDGE}
  1307.   TABP_TOPTABITEMRIGHTEDGE  = 7;
  1308.   {$EXTERNALSYM TABP_TOPTABITEMRIGHTEDGE}
  1309.   TABP_TOPTABITEMBOTHEDGE   = 8;
  1310.   {$EXTERNALSYM TABP_TOPTABITEMBOTHEDGE}
  1311.   TABP_PANE                 = 9;
  1312.   {$EXTERNALSYM TABP_PANE}
  1313.   TABP_BODY                 = 10;
  1314.   {$EXTERNALSYM TABP_BODY}
  1315. type
  1316.   TABITEMSTATES = DWORD;
  1317.   {$EXTERNALSYM TABITEMSTATES}
  1318. const
  1319.   TABITEMStateFiller0  = 0;
  1320.   {$EXTERNALSYM TABITEMStateFiller0}
  1321.   TIS_NORMAL           = 1;
  1322.   {$EXTERNALSYM TIS_NORMAL}
  1323.   TIS_HOT              = 2;
  1324.   {$EXTERNALSYM TIS_HOT}
  1325.   TIS_SELECTED         = 3;
  1326.   {$EXTERNALSYM TIS_SELECTED}
  1327.   TIS_DISABLED         = 4;
  1328.   {$EXTERNALSYM TIS_DISABLED}
  1329.   TIS_FOCUSED          = 5;
  1330.   {$EXTERNALSYM TIS_FOCUSED}
  1331. type
  1332.   TABITEMLEFTEDGESTATES = DWORD;
  1333.   {$EXTERNALSYM TABITEMLEFTEDGESTATES}
  1334. const
  1335.   TABITEMLEFTEDGEStateFiller0  = 0;
  1336.   {$EXTERNALSYM TABITEMLEFTEDGEStateFiller0}
  1337.   TILES_NORMAL                 = 1;
  1338.   {$EXTERNALSYM TILES_NORMAL}
  1339.   TILES_HOT                    = 2;
  1340.   {$EXTERNALSYM TILES_HOT}
  1341.   TILES_SELECTED               = 3;
  1342.   {$EXTERNALSYM TILES_SELECTED}
  1343.   TILES_DISABLED               = 4;
  1344.   {$EXTERNALSYM TILES_DISABLED}
  1345.   TILES_FOCUSED                = 5;
  1346.   {$EXTERNALSYM TILES_FOCUSED}
  1347. type
  1348.   TABITEMRIGHTEDGESTATES = DWORD;
  1349.   {$EXTERNALSYM TABITEMRIGHTEDGESTATES}
  1350. const
  1351.   TABITEMRIGHTEDGEStateFiller0  = 0;
  1352.   {$EXTERNALSYM TABITEMRIGHTEDGEStateFiller0}
  1353.   TIRES_NORMAL                  = 1;
  1354.   {$EXTERNALSYM TIRES_NORMAL}
  1355.   TIRES_HOT                     = 2;
  1356.   {$EXTERNALSYM TIRES_HOT}
  1357.   TIRES_SELECTED                = 3;
  1358.   {$EXTERNALSYM TIRES_SELECTED}
  1359.   TIRES_DISABLED                = 4;
  1360.   {$EXTERNALSYM TIRES_DISABLED}
  1361.   TIRES_FOCUSED                 = 5;
  1362.   {$EXTERNALSYM TIRES_FOCUSED}
  1363. type
  1364.   TABITEMBOTHEDGESSTATES = DWORD;
  1365.   {$EXTERNALSYM TABITEMBOTHEDGESSTATES}
  1366. const
  1367.   TABITEMBOTHEDGESStateFiller0  = 0;
  1368.   {$EXTERNALSYM TABITEMBOTHEDGESStateFiller0}
  1369.   TIBES_NORMAL                  = 1;
  1370.   {$EXTERNALSYM TIBES_NORMAL}
  1371.   TIBES_HOT                     = 2;
  1372.   {$EXTERNALSYM TIBES_HOT}
  1373.   TIBES_SELECTED                = 3;
  1374.   {$EXTERNALSYM TIBES_SELECTED}
  1375.   TIBES_DISABLED                = 4;
  1376.   {$EXTERNALSYM TIBES_DISABLED}
  1377.   TIBES_FOCUSED                 = 5;
  1378.   {$EXTERNALSYM TIBES_FOCUSED}
  1379. type
  1380.   TOPTABITEMSTATES = DWORD;
  1381.   {$EXTERNALSYM TOPTABITEMSTATES}
  1382. const
  1383.   TOPTABITEMStateFiller0  = 0;
  1384.   {$EXTERNALSYM TOPTABITEMStateFiller0}
  1385.   TTIS_NORMAL             = 1;
  1386.   {$EXTERNALSYM TTIS_NORMAL}
  1387.   TTIS_HOT                = 2;
  1388.   {$EXTERNALSYM TTIS_HOT}
  1389.   TTIS_SELECTED           = 3;
  1390.   {$EXTERNALSYM TTIS_SELECTED}
  1391.   TTIS_DISABLED           = 4;
  1392.   {$EXTERNALSYM TTIS_DISABLED}
  1393.   TTIS_FOCUSED            = 5;
  1394.   {$EXTERNALSYM TTIS_FOCUSED}
  1395. type
  1396.   TOPTABITEMLEFTEDGESTATES = DWORD;
  1397.   {$EXTERNALSYM TOPTABITEMLEFTEDGESTATES}
  1398. const
  1399.   TOPTABITEMLEFTEDGEStateFiller0  = 0;
  1400.   {$EXTERNALSYM TOPTABITEMLEFTEDGEStateFiller0}
  1401.   TTILES_NORMAL                   = 1;
  1402.   {$EXTERNALSYM TTILES_NORMAL}
  1403.   TTILES_HOT                      = 2;
  1404.   {$EXTERNALSYM TTILES_HOT}
  1405.   TTILES_SELECTED                 = 3;
  1406.   {$EXTERNALSYM TTILES_SELECTED}
  1407.   TTILES_DISABLED                 = 4;
  1408.   {$EXTERNALSYM TTILES_DISABLED}
  1409.   TTILES_FOCUSED                  = 5;
  1410.   {$EXTERNALSYM TTILES_FOCUSED}
  1411. type
  1412.   TOPTABITEMRIGHTEDGESTATES = DWORD;
  1413.   {$EXTERNALSYM TOPTABITEMRIGHTEDGESTATES}
  1414. const
  1415.   TOPTABITEMRIGHTEDGEStateFiller0  = 0;
  1416.   {$EXTERNALSYM TOPTABITEMRIGHTEDGEStateFiller0}
  1417.   TTIRES_NORMAL                    = 1;
  1418.   {$EXTERNALSYM TTIRES_NORMAL}
  1419.   TTIRES_HOT                       = 2;
  1420.   {$EXTERNALSYM TTIRES_HOT}
  1421.   TTIRES_SELECTED                  = 3;
  1422.   {$EXTERNALSYM TTIRES_SELECTED}
  1423.   TTIRES_DISABLED                  = 4;
  1424.   {$EXTERNALSYM TTIRES_DISABLED}
  1425.   TTIRES_FOCUSED                   = 5;
  1426.   {$EXTERNALSYM TTIRES_FOCUSED}
  1427. type
  1428.   TOPTABITEMBOTHEDGESSTATES = DWORD;
  1429.   {$EXTERNALSYM TOPTABITEMBOTHEDGESSTATES}
  1430. const
  1431.   TOPTABITEMBOTHEDGESStateFiller0  = 0;
  1432.   {$EXTERNALSYM TOPTABITEMBOTHEDGESStateFiller0}
  1433.   TTIBES_NORMAL                    = 1;
  1434.   {$EXTERNALSYM TTIBES_NORMAL}
  1435.   TTIBES_HOT                       = 2;
  1436.   {$EXTERNALSYM TTIBES_HOT}
  1437.   TTIBES_SELECTED                  = 3;
  1438.   {$EXTERNALSYM TTIBES_SELECTED}
  1439.   TTIBES_DISABLED                  = 4;
  1440.   {$EXTERNALSYM TTIBES_DISABLED}
  1441.   TTIBES_FOCUSED                   = 5;
  1442.   {$EXTERNALSYM TTIBES_FOCUSED}
  1443. //---------------------------------------------------------------------------------------
  1444. //   "Trackbar" Parts & States
  1445. //---------------------------------------------------------------------------------------
  1446. type
  1447.   TRACKBARPARTS = DWORD;
  1448.   {$EXTERNALSYM TRACKBARPARTS}
  1449. const
  1450.   TRACKBARPartFiller0  = 0;
  1451.   {$EXTERNALSYM TRACKBARPartFiller0}
  1452.   TKP_TRACK            = 1;
  1453.   {$EXTERNALSYM TKP_TRACK}
  1454.   TKP_TRACKVERT        = 2;
  1455.   {$EXTERNALSYM TKP_TRACKVERT}
  1456.   TKP_THUMB            = 3;
  1457.   {$EXTERNALSYM TKP_THUMB}
  1458.   TKP_THUMBBOTTOM      = 4;
  1459.   {$EXTERNALSYM TKP_THUMBBOTTOM}
  1460.   TKP_THUMBTOP         = 5;
  1461.   {$EXTERNALSYM TKP_THUMBTOP}
  1462.   TKP_THUMBVERT        = 6;
  1463.   {$EXTERNALSYM TKP_THUMBVERT}
  1464.   TKP_THUMBLEFT        = 7;
  1465.   {$EXTERNALSYM TKP_THUMBLEFT}
  1466.   TKP_THUMBRIGHT       = 8;
  1467.   {$EXTERNALSYM TKP_THUMBRIGHT}
  1468.   TKP_TICS             = 9;
  1469.   {$EXTERNALSYM TKP_TICS}
  1470.   TKP_TICSVERT         = 10;
  1471.   {$EXTERNALSYM TKP_TICSVERT}
  1472. type
  1473.   TRACKBARSTATES = DWORD;
  1474.   {$EXTERNALSYM TRACKBARSTATES}
  1475. const
  1476.   TRACKBARStateFiller0  = 0;
  1477.   {$EXTERNALSYM TRACKBARStateFiller0}
  1478.   TKS_NORMAL            = 1;
  1479.   {$EXTERNALSYM TKS_NORMAL}
  1480. type
  1481.   TRACKSTATES = DWORD;
  1482.   {$EXTERNALSYM TRACKSTATES}
  1483. const
  1484.   TRACKStateFiller0  = 0;
  1485.   {$EXTERNALSYM TRACKStateFiller0}
  1486.   TRS_NORMAL         = 1;
  1487.   {$EXTERNALSYM TRS_NORMAL}
  1488. type
  1489.   TRACKVERTSTATES = DWORD;
  1490.   {$EXTERNALSYM TRACKVERTSTATES}
  1491. const
  1492.   TRACKVERTStateFiller0  = 0;
  1493.   {$EXTERNALSYM TRACKVERTStateFiller0}
  1494.   TRVS_NORMAL            = 1;
  1495.   {$EXTERNALSYM TRVS_NORMAL}
  1496. type
  1497.   THUMBSTATES = DWORD;
  1498.   {$EXTERNALSYM THUMBSTATES}
  1499. const
  1500.   THUMBStateFiller0  = 0;
  1501.   {$EXTERNALSYM THUMBStateFiller0}
  1502.   TUS_NORMAL         = 1;
  1503.   {$EXTERNALSYM TUS_NORMAL}
  1504.   TUS_HOT            = 2;
  1505.   {$EXTERNALSYM TUS_HOT}
  1506.   TUS_PRESSED        = 3;
  1507.   {$EXTERNALSYM TUS_PRESSED}
  1508.   TUS_FOCUSED        = 4;
  1509.   {$EXTERNALSYM TUS_FOCUSED}
  1510.   TUS_DISABLED       = 5;
  1511.   {$EXTERNALSYM TUS_DISABLED}
  1512. type
  1513.   THUMBBOTTOMSTATES = DWORD;
  1514.   {$EXTERNALSYM THUMBBOTTOMSTATES}
  1515. const
  1516.   THUMBBOTTOMStateFiller0  = 0;
  1517.   {$EXTERNALSYM THUMBBOTTOMStateFiller0}
  1518.   TUBS_NORMAL              = 1;
  1519.   {$EXTERNALSYM TUBS_NORMAL}
  1520.   TUBS_HOT                 = 2;
  1521.   {$EXTERNALSYM TUBS_HOT}
  1522.   TUBS_PRESSED             = 3;
  1523.   {$EXTERNALSYM TUBS_PRESSED}
  1524.   TUBS_FOCUSED             = 4;
  1525.   {$EXTERNALSYM TUBS_FOCUSED}
  1526.   TUBS_DISABLED            = 5;
  1527.   {$EXTERNALSYM TUBS_DISABLED}
  1528. type
  1529.   THUMBTOPSTATES = DWORD;
  1530.   {$EXTERNALSYM THUMBTOPSTATES}
  1531. const
  1532.   THUMBTOPStateFiller0  = 0;
  1533.   {$EXTERNALSYM THUMBTOPStateFiller0}
  1534.   TUTS_NORMAL           = 1;
  1535.   {$EXTERNALSYM TUTS_NORMAL}
  1536.   TUTS_HOT              = 2;
  1537.   {$EXTERNALSYM TUTS_HOT}
  1538.   TUTS_PRESSED          = 3;
  1539.   {$EXTERNALSYM TUTS_PRESSED}
  1540.   TUTS_FOCUSED          = 4;
  1541.   {$EXTERNALSYM TUTS_FOCUSED}
  1542.   TUTS_DISABLED         = 5;
  1543.   {$EXTERNALSYM TUTS_DISABLED}
  1544. type
  1545.   THUMBVERTSTATES = DWORD;
  1546.   {$EXTERNALSYM THUMBVERTSTATES}
  1547. const
  1548.   THUMBVERTStateFiller0  = 0;
  1549.   {$EXTERNALSYM THUMBVERTStateFiller0}
  1550.   TUVS_NORMAL            = 1;
  1551.   {$EXTERNALSYM TUVS_NORMAL}
  1552.   TUVS_HOT               = 2;
  1553.   {$EXTERNALSYM TUVS_HOT}
  1554.   TUVS_PRESSED           = 3;
  1555.   {$EXTERNALSYM TUVS_PRESSED}
  1556.   TUVS_FOCUSED           = 4;
  1557.   {$EXTERNALSYM TUVS_FOCUSED}
  1558.   TUVS_DISABLED          = 5;
  1559.   {$EXTERNALSYM TUVS_DISABLED}
  1560. type
  1561.   THUMBLEFTSTATES = DWORD;
  1562.   {$EXTERNALSYM THUMBLEFTSTATES}
  1563. const
  1564.   THUMBLEFTStateFiller0  = 0;
  1565.   {$EXTERNALSYM THUMBLEFTStateFiller0}
  1566.   TUVLS_NORMAL           = 1;
  1567.   {$EXTERNALSYM TUVLS_NORMAL}
  1568.   TUVLS_HOT              = 2;
  1569.   {$EXTERNALSYM TUVLS_HOT}
  1570.   TUVLS_PRESSED          = 3;
  1571.   {$EXTERNALSYM TUVLS_PRESSED}
  1572.   TUVLS_FOCUSED          = 4;
  1573.   {$EXTERNALSYM TUVLS_FOCUSED}
  1574.   TUVLS_DISABLED         = 5;
  1575.   {$EXTERNALSYM TUVLS_DISABLED}
  1576. type
  1577.   THUMBRIGHTSTATES = DWORD;
  1578.   {$EXTERNALSYM THUMBRIGHTSTATES}
  1579. const
  1580.   THUMBRIGHTStateFiller0  = 0;
  1581.   {$EXTERNALSYM THUMBRIGHTStateFiller0}
  1582.   TUVRS_NORMAL            = 1;
  1583.   {$EXTERNALSYM TUVRS_NORMAL}
  1584.   TUVRS_HOT               = 2;
  1585.   {$EXTERNALSYM TUVRS_HOT}
  1586.   TUVRS_PRESSED           = 3;
  1587.   {$EXTERNALSYM TUVRS_PRESSED}
  1588.   TUVRS_FOCUSED           = 4;
  1589.   {$EXTERNALSYM TUVRS_FOCUSED}
  1590.   TUVRS_DISABLED          = 5;
  1591.   {$EXTERNALSYM TUVRS_DISABLED}
  1592. type
  1593.   TICSSTATES = DWORD;
  1594.   {$EXTERNALSYM TICSSTATES}
  1595. const
  1596.   TICSStateFiller0  = 0;
  1597.   {$EXTERNALSYM TICSStateFiller0}
  1598.   TSS_NORMAL        = 1;
  1599.   {$EXTERNALSYM TSS_NORMAL}
  1600. type
  1601.   TICSVERTSTATES = DWORD;
  1602.   {$EXTERNALSYM TICSVERTSTATES}
  1603. const
  1604.   TICSVERTStateFiller0  = 0;
  1605.   {$EXTERNALSYM TICSVERTStateFiller0}
  1606.   TSVS_NORMAL           = 1;
  1607.   {$EXTERNALSYM TSVS_NORMAL}
  1608. //---------------------------------------------------------------------------------------
  1609. //   "Tooltips" Parts & States
  1610. //---------------------------------------------------------------------------------------
  1611. type
  1612.   TOOLTIPPARTS = DWORD;
  1613.   {$EXTERNALSYM TOOLTIPPARTS}
  1614. const
  1615.   TOOLTIPPartFiller0  = 0;
  1616.   {$EXTERNALSYM TOOLTIPPartFiller0}
  1617.   TTP_STANDARD        = 1;
  1618.   {$EXTERNALSYM TTP_STANDARD}
  1619.   TTP_STANDARDTITLE   = 2;
  1620.   {$EXTERNALSYM TTP_STANDARDTITLE}
  1621.   TTP_BALLOON         = 3;
  1622.   {$EXTERNALSYM TTP_BALLOON}
  1623.   TTP_BALLOONTITLE    = 4;
  1624.   {$EXTERNALSYM TTP_BALLOONTITLE}
  1625.   TTP_CLOSE           = 5;
  1626.   {$EXTERNALSYM TTP_CLOSE}
  1627. type
  1628.   CLOSESTATES = DWORD;
  1629.   {$EXTERNALSYM CLOSESTATES}
  1630. const
  1631.   CLOSEStateFiller0  = 0;
  1632.   {$EXTERNALSYM CLOSEStateFiller0}
  1633.   TTCS_NORMAL        = 1;
  1634.   {$EXTERNALSYM TTCS_NORMAL}
  1635.   TTCS_HOT           = 2;
  1636.   {$EXTERNALSYM TTCS_HOT}
  1637.   TTCS_PRESSED       = 3;
  1638.   {$EXTERNALSYM TTCS_PRESSED}
  1639. type
  1640.   STANDARDSTATES = DWORD;
  1641.   {$EXTERNALSYM STANDARDSTATES}
  1642. const
  1643.   STANDARDStateFiller0  = 0;
  1644.   {$EXTERNALSYM STANDARDStateFiller0}
  1645.   TTSS_NORMAL           = 1;
  1646.   {$EXTERNALSYM TTSS_NORMAL}
  1647.   TTSS_LINK             = 2;
  1648.   {$EXTERNALSYM TTSS_LINK}
  1649. type
  1650.   BALLOONSTATES = DWORD;
  1651.   {$EXTERNALSYM BALLOONSTATES}
  1652. const
  1653.   BALLOONStateFiller0  = 0;
  1654.   {$EXTERNALSYM BALLOONStateFiller0}
  1655.   TTBS_NORMAL          = 1;
  1656.   {$EXTERNALSYM TTBS_NORMAL}
  1657.   TTBS_LINK            = 2;
  1658.   {$EXTERNALSYM TTBS_LINK}
  1659. //---------------------------------------------------------------------------------------
  1660. //   "TreeView" Parts & States
  1661. //---------------------------------------------------------------------------------------
  1662. type
  1663.   TREEVIEWPARTS = DWORD;
  1664.   {$EXTERNALSYM TREEVIEWPARTS}
  1665. const
  1666.   TREEVIEWPartFiller0  = 0;
  1667.   {$EXTERNALSYM TREEVIEWPartFiller0}
  1668.   TVP_TREEITEM         = 1;
  1669.   {$EXTERNALSYM TVP_TREEITEM}
  1670.   TVP_GLYPH            = 2;
  1671.   {$EXTERNALSYM TVP_GLYPH}
  1672.   TVP_BRANCH           = 3;
  1673.   {$EXTERNALSYM TVP_BRANCH}
  1674. type
  1675.   TREEITEMSTATES = DWORD;
  1676.   {$EXTERNALSYM TREEITEMSTATES}
  1677. const
  1678.   TREEITEMStateFiller0    = 0;
  1679.   {$EXTERNALSYM TREEITEMStateFiller0}
  1680.   TREIS_NORMAL            = 1;
  1681.   {$EXTERNALSYM TREIS_NORMAL}
  1682.   TREIS_HOT               = 2;
  1683.   {$EXTERNALSYM TREIS_HOT}
  1684.   TREIS_SELECTED          = 3;
  1685.   {$EXTERNALSYM TREIS_SELECTED}
  1686.   TREIS_DISABLED          = 4;
  1687.   {$EXTERNALSYM TREIS_DISABLED}
  1688.   TREIS_SELECTEDNOTFOCUS  = 5;
  1689.   {$EXTERNALSYM TREIS_SELECTEDNOTFOCUS}
  1690. type
  1691.   GLYPHSTATES = DWORD;
  1692.   {$EXTERNALSYM GLYPHSTATES}
  1693. const
  1694.   GLYPHStateFiller0  = 0;
  1695.   {$EXTERNALSYM GLYPHStateFiller0}
  1696.   GLPS_CLOSED        = 1;
  1697.   {$EXTERNALSYM GLPS_CLOSED}
  1698.   GLPS_OPENED        = 2;
  1699.   {$EXTERNALSYM GLPS_OPENED}
  1700. //---------------------------------------------------------------------------------------
  1701. //   "Spin" Parts & States
  1702. //---------------------------------------------------------------------------------------
  1703. type
  1704.   SPINPARTS = DWORD;
  1705.   {$EXTERNALSYM SPINPARTS}
  1706. const
  1707.   SPINPartFiller0  = 0;
  1708.   {$EXTERNALSYM SPINPartFiller0}
  1709.   SPNP_UP          = 1;
  1710.   {$EXTERNALSYM SPNP_UP}
  1711.   SPNP_DOWN        = 2;
  1712.   {$EXTERNALSYM SPNP_DOWN}
  1713.   SPNP_UPHORZ      = 3;
  1714.   {$EXTERNALSYM SPNP_UPHORZ}
  1715.   SPNP_DOWNHORZ    = 4;
  1716.   {$EXTERNALSYM SPNP_DOWNHORZ}
  1717. type
  1718.   UPSTATES = DWORD;
  1719.   {$EXTERNALSYM UPSTATES}
  1720. const
  1721.   UPStateFiller0  = 0;
  1722.   {$EXTERNALSYM UPStateFiller0}
  1723.   UPS_NORMAL      = 1;
  1724.   {$EXTERNALSYM UPS_NORMAL}
  1725.   UPS_HOT         = 2;
  1726.   {$EXTERNALSYM UPS_HOT}
  1727.   UPS_PRESSED     = 3;
  1728.   {$EXTERNALSYM UPS_PRESSED}
  1729.   UPS_DISABLED    = 4;
  1730.   {$EXTERNALSYM UPS_DISABLED}
  1731. type
  1732.   DOWNSTATES = DWORD;
  1733.   {$EXTERNALSYM DOWNSTATES}
  1734. const
  1735.   DOWNStateFiller0  = 0;
  1736.   {$EXTERNALSYM DOWNStateFiller0}
  1737.   DNS_NORMAL        = 1;
  1738.   {$EXTERNALSYM DNS_NORMAL}
  1739.   DNS_HOT           = 2;
  1740.   {$EXTERNALSYM DNS_HOT}
  1741.   DNS_PRESSED       = 3;
  1742.   {$EXTERNALSYM DNS_PRESSED}
  1743.   DNS_DISABLED      = 4;
  1744.   {$EXTERNALSYM DNS_DISABLED}
  1745. type
  1746.   UPHORZSTATES = DWORD;
  1747.   {$EXTERNALSYM UPHORZSTATES}
  1748. const
  1749.   UPHORZStateFiller0  = 0;
  1750.   {$EXTERNALSYM UPHORZStateFiller0}
  1751.   UPHZS_NORMAL        = 1;
  1752.   {$EXTERNALSYM UPHZS_NORMAL}
  1753.   UPHZS_HOT           = 2;
  1754.   {$EXTERNALSYM UPHZS_HOT}
  1755.   UPHZS_PRESSED       = 3;
  1756.   {$EXTERNALSYM UPHZS_PRESSED}
  1757.   UPHZS_DISABLED      = 4;
  1758.   {$EXTERNALSYM UPHZS_DISABLED}
  1759. type
  1760.   DOWNHORZSTATES = DWORD;
  1761.   {$EXTERNALSYM DOWNHORZSTATES}
  1762. const
  1763.   DOWNHORZStateFiller0  = 0;
  1764.   {$EXTERNALSYM DOWNHORZStateFiller0}
  1765.   DNHZS_NORMAL          = 1;
  1766.   {$EXTERNALSYM DNHZS_NORMAL}
  1767.   DNHZS_HOT             = 2;
  1768.   {$EXTERNALSYM DNHZS_HOT}
  1769.   DNHZS_PRESSED         = 3;
  1770.   {$EXTERNALSYM DNHZS_PRESSED}
  1771.   DNHZS_DISABLED        = 4;
  1772.   {$EXTERNALSYM DNHZS_DISABLED}
  1773. //---------------------------------------------------------------------------------------
  1774. //   "Page" Parts & States
  1775. //---------------------------------------------------------------------------------------
  1776. type
  1777.   PAGEPARTS = DWORD;
  1778.   {$EXTERNALSYM PAGEPARTS}
  1779. const
  1780.   PAGEPartFiller0  = 0;
  1781.   {$EXTERNALSYM PAGEPartFiller0}
  1782.   PGRP_UP          = 1;
  1783.   {$EXTERNALSYM PGRP_UP}
  1784.   PGRP_DOWN        = 2;
  1785.   {$EXTERNALSYM PGRP_DOWN}
  1786.   PGRP_UPHORZ      = 3;
  1787.   {$EXTERNALSYM PGRP_UPHORZ}
  1788.   PGRP_DOWNHORZ    = 4;
  1789.   {$EXTERNALSYM PGRP_DOWNHORZ}
  1790. //--- Pager uses same states as Spin ---
  1791. //---------------------------------------------------------------------------------------
  1792. //   "Scrollbar" Parts & States
  1793. //---------------------------------------------------------------------------------------
  1794. type
  1795.   SCROLLBARPARTS = DWORD;
  1796.   {$EXTERNALSYM SCROLLBARPARTS}
  1797. const
  1798.   SCROLLBARPartFiller0  = 0;
  1799.   {$EXTERNALSYM SCROLLBARPartFiller0}
  1800.   SBP_ARROWBTN          = 1;
  1801.   {$EXTERNALSYM SBP_ARROWBTN}
  1802.   SBP_THUMBBTNHORZ      = 2;
  1803.   {$EXTERNALSYM SBP_THUMBBTNHORZ}
  1804.   SBP_THUMBBTNVERT      = 3;
  1805.   {$EXTERNALSYM SBP_THUMBBTNVERT}
  1806.   SBP_LOWERTRACKHORZ    = 4;
  1807.   {$EXTERNALSYM SBP_LOWERTRACKHORZ}
  1808.   SBP_UPPERTRACKHORZ    = 5;
  1809.   {$EXTERNALSYM SBP_UPPERTRACKHORZ}
  1810.   SBP_LOWERTRACKVERT    = 6;
  1811.   {$EXTERNALSYM SBP_LOWERTRACKVERT}
  1812.   SBP_UPPERTRACKVERT    = 7;
  1813.   {$EXTERNALSYM SBP_UPPERTRACKVERT}
  1814.   SBP_GRIPPERHORZ       = 8;
  1815.   {$EXTERNALSYM SBP_GRIPPERHORZ}
  1816.   SBP_GRIPPERVERT       = 9;
  1817.   {$EXTERNALSYM SBP_GRIPPERVERT}
  1818.   SBP_SIZEBOX           = 10;
  1819.   {$EXTERNALSYM SBP_SIZEBOX}
  1820. type
  1821.   ARROWBTNSTATES = DWORD;
  1822.   {$EXTERNALSYM ARROWBTNSTATES}
  1823. const
  1824.   ARROWBTNStateFiller0  = 0;
  1825.   {$EXTERNALSYM ARROWBTNStateFiller0}
  1826.   ABS_UPNORMAL          = 1;
  1827.   {$EXTERNALSYM ABS_UPNORMAL}
  1828.   ABS_UPHOT             = 2;
  1829.   {$EXTERNALSYM ABS_UPHOT}
  1830.   ABS_UPPRESSED         = 3;
  1831.   {$EXTERNALSYM ABS_UPPRESSED}
  1832.   ABS_UPDISABLED        = 4;
  1833.   {$EXTERNALSYM ABS_UPDISABLED}
  1834.   ABS_DOWNNORMAL        = 5;
  1835.   {$EXTERNALSYM ABS_DOWNNORMAL}
  1836.   ABS_DOWNHOT           = 6;
  1837.   {$EXTERNALSYM ABS_DOWNHOT}
  1838.   ABS_DOWNPRESSED       = 7;
  1839.   {$EXTERNALSYM ABS_DOWNPRESSED}
  1840.   ABS_DOWNDISABLED      = 8;
  1841.   {$EXTERNALSYM ABS_DOWNDISABLED}
  1842.   ABS_LEFTNORMAL        = 9;
  1843.   {$EXTERNALSYM ABS_LEFTNORMAL}
  1844.   ABS_LEFTHOT           = 10;
  1845.   {$EXTERNALSYM ABS_LEFTHOT}
  1846.   ABS_LEFTPRESSED       = 11;
  1847.   {$EXTERNALSYM ABS_LEFTPRESSED}
  1848.   ABS_LEFTDISABLED      = 12;
  1849.   {$EXTERNALSYM ABS_LEFTDISABLED}
  1850.   ABS_RIGHTNORMAL       = 13;
  1851.   {$EXTERNALSYM ABS_RIGHTNORMAL}
  1852.   ABS_RIGHTHOT          = 14;
  1853.   {$EXTERNALSYM ABS_RIGHTHOT}
  1854.   ABS_RIGHTPRESSED      = 15;
  1855.   {$EXTERNALSYM ABS_RIGHTPRESSED}
  1856.   ABS_RIGHTDISABLED     = 16;
  1857.   {$EXTERNALSYM ABS_RIGHTDISABLED}
  1858. type
  1859.   SCROLLBARSTATES = DWORD;
  1860.   {$EXTERNALSYM SCROLLBARSTATES}
  1861. const
  1862.   SCROLLBARStateFiller0  = 0;
  1863.   {$EXTERNALSYM SCROLLBARStateFiller0}
  1864.   SCRBS_NORMAL           = 1;
  1865.   {$EXTERNALSYM SCRBS_NORMAL}
  1866.   SCRBS_HOT              = 2;
  1867.   {$EXTERNALSYM SCRBS_HOT}
  1868.   SCRBS_PRESSED          = 3;
  1869.   {$EXTERNALSYM SCRBS_PRESSED}
  1870.   SCRBS_DISABLED         = 4;
  1871.   {$EXTERNALSYM SCRBS_DISABLED}
  1872. type
  1873.   SIZEBOXSTATES = DWORD;
  1874.   {$EXTERNALSYM SIZEBOXSTATES}
  1875. const
  1876.   SIZEBOXStateFiller0  = 0;
  1877.   {$EXTERNALSYM SIZEBOXStateFiller0}
  1878.   SZB_RIGHTALIGN       = 1;
  1879.   {$EXTERNALSYM SZB_RIGHTALIGN}
  1880.   SZB_LEFTALIGN        = 2;
  1881.   {$EXTERNALSYM SZB_LEFTALIGN}
  1882. //---------------------------------------------------------------------------------------
  1883. //   "Edit" Parts & States
  1884. //---------------------------------------------------------------------------------------
  1885. type
  1886.   EDITPARTS = DWORD;
  1887.   {$EXTERNALSYM EDITPARTS}
  1888. const
  1889.   EDITPartFiller0  = 0;
  1890.   {$EXTERNALSYM EDITPartFiller0}
  1891.   EP_EDITTEXT      = 1;
  1892.   {$EXTERNALSYM EP_EDITTEXT}
  1893.   EP_CARET         = 2;
  1894.   {$EXTERNALSYM EP_CARET}
  1895. type
  1896.   EDITTEXTSTATES = DWORD;
  1897.   {$EXTERNALSYM EDITTEXTSTATES}
  1898. const
  1899.   EDITTEXTStateFiller0  = 0;
  1900.   {$EXTERNALSYM EDITTEXTStateFiller0}
  1901.   ETS_NORMAL            = 1;
  1902.   {$EXTERNALSYM ETS_NORMAL}
  1903.   ETS_HOT               = 2;
  1904.   {$EXTERNALSYM ETS_HOT}
  1905.   ETS_SELECTED          = 3;
  1906.   {$EXTERNALSYM ETS_SELECTED}
  1907.   ETS_DISABLED          = 4;
  1908.   {$EXTERNALSYM ETS_DISABLED}
  1909.   ETS_FOCUSED           = 5;
  1910.   {$EXTERNALSYM ETS_FOCUSED}
  1911.   ETS_READONLY          = 6;
  1912.   {$EXTERNALSYM ETS_READONLY}
  1913.   ETS_ASSIST            = 7;
  1914.   {$EXTERNALSYM ETS_ASSIST}
  1915. //---------------------------------------------------------------------------------------
  1916. //   "ComboBox" Parts & States
  1917. //---------------------------------------------------------------------------------------
  1918. type
  1919.   COMBOBOXPARTS = DWORD;
  1920.   {$EXTERNALSYM COMBOBOXPARTS}
  1921. const
  1922.   COMBOBOXPartFiller0  = 0;
  1923.   {$EXTERNALSYM COMBOBOXPartFiller0}
  1924.   CP_DROPDOWNBUTTON    = 1;
  1925.   {$EXTERNALSYM CP_DROPDOWNBUTTON}
  1926. type
  1927.   COMBOBOXSTATES = DWORD;
  1928.   {$EXTERNALSYM COMBOBOXSTATES}
  1929. const
  1930.   COMBOBOXStateFiller0  = 0;
  1931.   {$EXTERNALSYM COMBOBOXStateFiller0}
  1932.   CBXS_NORMAL           = 1;
  1933.   {$EXTERNALSYM CBXS_NORMAL}
  1934.   CBXS_HOT              = 2;
  1935.   {$EXTERNALSYM CBXS_HOT}
  1936.   CBXS_PRESSED          = 3;
  1937.   {$EXTERNALSYM CBXS_PRESSED}
  1938.   CBXS_DISABLED         = 4;
  1939.   {$EXTERNALSYM CBXS_DISABLED}
  1940. //---------------------------------------------------------------------------------------
  1941. //   "Taskbar Clock" Parts & States
  1942. //---------------------------------------------------------------------------------------
  1943. type
  1944.   CLOCKPARTS = DWORD;
  1945.   {$EXTERNALSYM CLOCKPARTS}
  1946. const
  1947.   CLOCKPartFiller0  = 0;
  1948.   {$EXTERNALSYM CLOCKPartFiller0}
  1949.   CLP_TIME          = 1;
  1950.   {$EXTERNALSYM CLP_TIME}
  1951. type
  1952.   CLOCKSTATES = DWORD;
  1953.   {$EXTERNALSYM CLOCKSTATES}
  1954. const
  1955.   CLOCKStateFiller0  = 0;
  1956.   {$EXTERNALSYM CLOCKStateFiller0}
  1957.   CLS_NORMAL         = 1;
  1958.   {$EXTERNALSYM CLS_NORMAL}
  1959. //---------------------------------------------------------------------------------------
  1960. //   "Tray Notify" Parts & States
  1961. //---------------------------------------------------------------------------------------
  1962. type
  1963.   TRAYNOTIFYPARTS = DWORD;
  1964.   {$EXTERNALSYM TRAYNOTIFYPARTS}
  1965. const
  1966.   TRAYNOTIFYPartFiller0  = 0;
  1967.   {$EXTERNALSYM TRAYNOTIFYPartFiller0}
  1968.   TNP_BACKGROUND         = 1;
  1969.   {$EXTERNALSYM TNP_BACKGROUND}
  1970.   TNP_ANIMBACKGROUND     = 2;
  1971.   {$EXTERNALSYM TNP_ANIMBACKGROUND}
  1972. //---------------------------------------------------------------------------------------
  1973. //   "TaskBar" Parts & States
  1974. //---------------------------------------------------------------------------------------
  1975. type
  1976.   TASKBARPARTS = DWORD;
  1977.   {$EXTERNALSYM TASKBARPARTS}
  1978. const
  1979.   TASKBARPartFiller0    = 0;
  1980.   {$EXTERNALSYM TASKBARPartFiller0}
  1981.   TBP_BACKGROUNDBOTTOM  = 1;
  1982.   {$EXTERNALSYM TBP_BACKGROUNDBOTTOM}
  1983.   TBP_BACKGROUNDRIGHT   = 2;
  1984.   {$EXTERNALSYM TBP_BACKGROUNDRIGHT}
  1985.   TBP_BACKGROUNDTOP     = 3;
  1986.   {$EXTERNALSYM TBP_BACKGROUNDTOP}
  1987.   TBP_BACKGROUNDLEFT    = 4;
  1988.   {$EXTERNALSYM TBP_BACKGROUNDLEFT}
  1989.   TBP_SIZINGBARBOTTOM   = 5;
  1990.   {$EXTERNALSYM TBP_SIZINGBARBOTTOM}
  1991.   TBP_SIZINGBARRIGHT    = 6;
  1992.   {$EXTERNALSYM TBP_SIZINGBARRIGHT}
  1993.   TBP_SIZINGBARTOP      = 7;
  1994.   {$EXTERNALSYM TBP_SIZINGBARTOP}
  1995.   TBP_SIZINGBARLEFT     = 8;
  1996.   {$EXTERNALSYM TBP_SIZINGBARLEFT}
  1997. //---------------------------------------------------------------------------------------
  1998. //   "TaskBand" Parts & States
  1999. //---------------------------------------------------------------------------------------
  2000. type
  2001.   TASKBANDPARTS = DWORD;
  2002.   {$EXTERNALSYM TASKBANDPARTS}
  2003. const
  2004.   TASKBANDPartFiller0       = 0;
  2005.   {$EXTERNALSYM TASKBANDPartFiller0}
  2006.   TDP_GROUPCOUNT            = 1;
  2007.   {$EXTERNALSYM TDP_GROUPCOUNT}
  2008.   TDP_FLASHBUTTON           = 2;
  2009.   {$EXTERNALSYM TDP_FLASHBUTTON}
  2010.   TDP_FLASHBUTTONGROUPMENU  = 3;
  2011.   {$EXTERNALSYM TDP_FLASHBUTTONGROUPMENU}
  2012. //---------------------------------------------------------------------------------------
  2013. //   "StartPanel" Parts & States
  2014. //---------------------------------------------------------------------------------------
  2015. type
  2016.   STARTPANELPARTS = DWORD;
  2017.   {$EXTERNALSYM STARTPANELPARTS}
  2018. const
  2019.   STARTPANELPartFiller0    = 0;
  2020.   {$EXTERNALSYM STARTPANELPartFiller0}
  2021.   SPP_USERPANE             = 1;
  2022.   {$EXTERNALSYM SPP_USERPANE}
  2023.   SPP_MOREPROGRAMS         = 2;
  2024.   {$EXTERNALSYM SPP_MOREPROGRAMS}
  2025.   SPP_MOREPROGRAMSARROW    = 3;
  2026.   {$EXTERNALSYM SPP_MOREPROGRAMSARROW}
  2027.   SPP_PROGLIST             = 4;
  2028.   {$EXTERNALSYM SPP_PROGLIST}
  2029.   SPP_PROGLISTSEPARATOR    = 5;
  2030.   {$EXTERNALSYM SPP_PROGLISTSEPARATOR}
  2031.   SPP_PLACESLIST           = 6;
  2032.   {$EXTERNALSYM SPP_PLACESLIST}
  2033.   SPP_PLACESLISTSEPARATOR  = 7;
  2034.   {$EXTERNALSYM SPP_PLACESLISTSEPARATOR}
  2035.   SPP_LOGOFF               = 8;
  2036.   {$EXTERNALSYM SPP_LOGOFF}
  2037.   SPP_LOGOFFBUTTONS        = 9;
  2038.   {$EXTERNALSYM SPP_LOGOFFBUTTONS}
  2039.   SPP_USERPICTURE          = 10;
  2040.   {$EXTERNALSYM SPP_USERPICTURE}
  2041.   SPP_PREVIEW              = 11;
  2042.   {$EXTERNALSYM SPP_PREVIEW}
  2043. type
  2044.   MOREPROGRAMSARROWSTATES = DWORD;
  2045.   {$EXTERNALSYM MOREPROGRAMSARROWSTATES}
  2046. const
  2047.   MOREPROGRAMSARROWStateFiller0  = 0;
  2048.   {$EXTERNALSYM MOREPROGRAMSARROWStateFiller0}
  2049.   SPS_NORMAL                     = 1;
  2050.   {$EXTERNALSYM SPS_NORMAL}
  2051.   SPS_HOT                        = 2;
  2052.   {$EXTERNALSYM SPS_HOT}
  2053.   SPS_PRESSED                    = 3;
  2054.   {$EXTERNALSYM SPS_PRESSED}
  2055. type
  2056.   LOGOFFBUTTONSSTATES = DWORD;
  2057.   {$EXTERNALSYM LOGOFFBUTTONSSTATES}
  2058. const
  2059.   LOGOFFBUTTONSStateFiller0  = 0;
  2060.   {$EXTERNALSYM LOGOFFBUTTONSStateFiller0}
  2061.   SPLS_NORMAL                = 1;
  2062.   {$EXTERNALSYM SPLS_NORMAL}
  2063.   SPLS_HOT                   = 2;
  2064.   {$EXTERNALSYM SPLS_HOT}
  2065.   SPLS_PRESSED               = 3;
  2066.   {$EXTERNALSYM SPLS_PRESSED}
  2067. //---------------------------------------------------------------------------------------
  2068. //   "ExplorerBar" Parts & States
  2069. //---------------------------------------------------------------------------------------
  2070. type
  2071.   EXPLORERBARPARTS = DWORD;
  2072.   {$EXTERNALSYM EXPLORERBARPARTS}
  2073. const
  2074.   EXPLORERBARPartFiller0      = 0;
  2075.   {$EXTERNALSYM EXPLORERBARPartFiller0}
  2076.   EBP_HEADERBACKGROUND        = 1;
  2077.   {$EXTERNALSYM EBP_HEADERBACKGROUND}
  2078.   EBP_HEADERCLOSE             = 2;
  2079.   {$EXTERNALSYM EBP_HEADERCLOSE}
  2080.   EBP_HEADERPIN               = 3;
  2081.   {$EXTERNALSYM EBP_HEADERPIN}
  2082.   EBP_IEBARMENU               = 4;
  2083.   {$EXTERNALSYM EBP_IEBARMENU}
  2084.   EBP_NORMALGROUPBACKGROUND   = 5;
  2085.   {$EXTERNALSYM EBP_NORMALGROUPBACKGROUND}
  2086.   EBP_NORMALGROUPCOLLAPSE     = 6;
  2087.   {$EXTERNALSYM EBP_NORMALGROUPCOLLAPSE}
  2088.   EBP_NORMALGROUPEXPAND       = 7;
  2089.   {$EXTERNALSYM EBP_NORMALGROUPEXPAND}
  2090.   EBP_NORMALGROUPHEAD         = 8;
  2091.   {$EXTERNALSYM EBP_NORMALGROUPHEAD}
  2092.   EBP_SPECIALGROUPBACKGROUND  = 9;
  2093.   {$EXTERNALSYM EBP_SPECIALGROUPBACKGROUND}
  2094.   EBP_SPECIALGROUPCOLLAPSE    = 10;
  2095.   {$EXTERNALSYM EBP_SPECIALGROUPCOLLAPSE}
  2096.   EBP_SPECIALGROUPEXPAND      = 11;
  2097.   {$EXTERNALSYM EBP_SPECIALGROUPEXPAND}
  2098.   EBP_SPECIALGROUPHEAD        = 12;
  2099.   {$EXTERNALSYM EBP_SPECIALGROUPHEAD}
  2100. type
  2101.   HEADERCLOSESTATES = DWORD;
  2102.   {$EXTERNALSYM HEADERCLOSESTATES}
  2103. const
  2104.   HEADERCLOSEStateFiller0  = 0;
  2105.   {$EXTERNALSYM HEADERCLOSEStateFiller0}
  2106.   EBHC_NORMAL              = 1;
  2107.   {$EXTERNALSYM EBHC_NORMAL}
  2108.   EBHC_HOT                 = 2;
  2109.   {$EXTERNALSYM EBHC_HOT}
  2110.   EBHC_PRESSED             = 3;
  2111.   {$EXTERNALSYM EBHC_PRESSED}
  2112. type
  2113.   HEADERPINSTATES = DWORD;
  2114.   {$EXTERNALSYM HEADERPINSTATES}
  2115. const
  2116.   HEADERPINStateFiller0  = 0;
  2117.   {$EXTERNALSYM HEADERPINStateFiller0}
  2118.   EBHP_NORMAL            = 1;
  2119.   {$EXTERNALSYM EBHP_NORMAL}
  2120.   EBHP_HOT               = 2;
  2121.   {$EXTERNALSYM EBHP_HOT}
  2122.   EBHP_PRESSED           = 3;
  2123.   {$EXTERNALSYM EBHP_PRESSED}
  2124.   EBHP_SELECTEDNORMAL    = 4;
  2125.   {$EXTERNALSYM EBHP_SELECTEDNORMAL}
  2126.   EBHP_SELECTEDHOT       = 5;
  2127.   {$EXTERNALSYM EBHP_SELECTEDHOT}
  2128.   EBHP_SELECTEDPRESSED   = 6;
  2129.   {$EXTERNALSYM EBHP_SELECTEDPRESSED}
  2130. type
  2131.   IEBARMENUSTATES = DWORD;
  2132.   {$EXTERNALSYM IEBARMENUSTATES}
  2133. const
  2134.   IEBARMENUStateFiller0  = 0;
  2135.   {$EXTERNALSYM IEBARMENUStateFiller0}
  2136.   EBM_NORMAL             = 1;
  2137.   {$EXTERNALSYM EBM_NORMAL}
  2138.   EBM_HOT                = 2;
  2139.   {$EXTERNALSYM EBM_HOT}
  2140.   EBM_PRESSED            = 3;
  2141.   {$EXTERNALSYM EBM_PRESSED}
  2142. type
  2143.   NORMALGROUPCOLLAPSESTATES = DWORD;
  2144.   {$EXTERNALSYM NORMALGROUPCOLLAPSESTATES}
  2145. const
  2146.   NORMALGROUPCOLLAPSEStateFiller0  = 0;
  2147.   {$EXTERNALSYM NORMALGROUPCOLLAPSEStateFiller0}
  2148.   EBNGC_NORMAL                     = 1;
  2149.   {$EXTERNALSYM EBNGC_NORMAL}
  2150.   EBNGC_HOT                        = 2;
  2151.   {$EXTERNALSYM EBNGC_HOT}
  2152.   EBNGC_PRESSED                    = 3;
  2153.   {$EXTERNALSYM EBNGC_PRESSED}
  2154. type
  2155.   NORMALGROUPEXPANDSTATES = DWORD;
  2156.   {$EXTERNALSYM NORMALGROUPEXPANDSTATES}
  2157. const
  2158.   NORMALGROUPEXPANDStateFiller0  = 0;
  2159.   {$EXTERNALSYM NORMALGROUPEXPANDStateFiller0}
  2160.   EBNGE_NORMAL                   = 1;
  2161.   {$EXTERNALSYM EBNGE_NORMAL}
  2162.   EBNGE_HOT                      = 2;
  2163.   {$EXTERNALSYM EBNGE_HOT}
  2164.   EBNGE_PRESSED                  = 3;
  2165.   {$EXTERNALSYM EBNGE_PRESSED}
  2166. type
  2167.   SPECIALGROUPCOLLAPSESTATES = DWORD;
  2168.   {$EXTERNALSYM SPECIALGROUPCOLLAPSESTATES}
  2169. const
  2170.   SPECIALGROUPCOLLAPSEStateFiller0  = 0;
  2171.   {$EXTERNALSYM SPECIALGROUPCOLLAPSEStateFiller0}
  2172.   EBSGC_NORMAL                      = 1;
  2173.   {$EXTERNALSYM EBSGC_NORMAL}
  2174.   EBSGC_HOT                         = 2;
  2175.   {$EXTERNALSYM EBSGC_HOT}
  2176.   EBSGC_PRESSED                     = 3;
  2177.   {$EXTERNALSYM EBSGC_PRESSED}
  2178. type
  2179.   SPECIALGROUPEXPANDSTATES = DWORD;
  2180.   {$EXTERNALSYM SPECIALGROUPEXPANDSTATES}
  2181. const
  2182.   SPECIALGROUPEXPANDStateFiller0  = 0;
  2183.   {$EXTERNALSYM SPECIALGROUPEXPANDStateFiller0}
  2184.   EBSGE_NORMAL                    = 1;
  2185.   {$EXTERNALSYM EBSGE_NORMAL}
  2186.   EBSGE_HOT                       = 2;
  2187.   {$EXTERNALSYM EBSGE_HOT}
  2188.   EBSGE_PRESSED                   = 3;
  2189.   {$EXTERNALSYM EBSGE_PRESSED}
  2190. //---------------------------------------------------------------------------------------
  2191. //   "TaskBand" Parts & States
  2192. //---------------------------------------------------------------------------------------
  2193. type
  2194.   MENUBANDPARTS = DWORD;
  2195.   {$EXTERNALSYM MENUBANDPARTS}
  2196. const
  2197.   MENUBANDPartFiller0  = 0;
  2198.   {$EXTERNALSYM MENUBANDPartFiller0}
  2199.   MDP_NEWAPPBUTTON     = 1;
  2200.   {$EXTERNALSYM MDP_NEWAPPBUTTON}
  2201.   MDP_SEPERATOR        = 2;
  2202.   {$EXTERNALSYM MDP_SEPERATOR}
  2203. type
  2204.   MENUBANDSTATES = DWORD;
  2205.   {$EXTERNALSYM MENUBANDSTATES}
  2206. const
  2207.   MENUBANDStateFiller0  = 0;
  2208.   {$EXTERNALSYM MENUBANDStateFiller0}
  2209.   MDS_NORMAL            = 1;
  2210.   {$EXTERNALSYM MDS_NORMAL}
  2211.   MDS_HOT               = 2;
  2212.   {$EXTERNALSYM MDS_HOT}
  2213.   MDS_PRESSED           = 3;
  2214.   {$EXTERNALSYM MDS_PRESSED}
  2215.   MDS_DISABLED          = 4;
  2216.   {$EXTERNALSYM MDS_DISABLED}
  2217.   MDS_CHECKED           = 5;
  2218.   {$EXTERNALSYM MDS_CHECKED}
  2219.   MDS_HOTCHECKED        = 6;
  2220.   {$EXTERNALSYM MDS_HOTCHECKED}
  2221. implementation
  2222. end.