// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AdvXPVS.pas' rev: 5.00

#ifndef AdvXPVSHPP
#define AdvXPVSHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Graphics.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Advxpvs
{
//-- type declarations -------------------------------------------------------
typedef unsigned HTHEME;

#pragma option push -b-
enum THEMESIZE { TS_MIN, TS_TRUE, TS_DRAW };
#pragma option pop

struct _MARGINS
{
	int cxLeftWidth;
	int cxRightWidth;
	int cyTopHeight;
	int cyBottomHeight;
} ;

typedef _MARGINS  MARGINS;

typedef _MARGINS *PMARGINS;

struct _INTLIST
{
	int iValueCount;
	int iValues[10];
} ;

typedef _INTLIST  INTLIST;

typedef _INTLIST *PINTLIST;

#pragma option push -b-
enum PROPERTYORIGIN { PO_STATE, PO_PART, PO_CLASS, PO_GLOBAL, PO_NOTFOUND };
#pragma option pop

//-- var, const, procedure ---------------------------------------------------
static const Shortint WP_CAPTION = 0x1;
static const Shortint WP_SMALLCAPTION = 0x2;
static const Shortint WP_MINCAPTION = 0x3;
static const Shortint WP_SMALLMINCAPTION = 0x4;
static const Shortint WP_MAXCAPTION = 0x5;
static const Shortint WP_SMALLMAXCAPTION = 0x6;
static const Shortint WP_FRAMELEFT = 0x7;
static const Shortint WP_FRAMERIGHT = 0x8;
static const Shortint WP_FRAMEBOTTOM = 0x9;
static const Shortint WP_SMALLFRAMELEFT = 0xa;
static const Shortint WP_SMALLFRAMERIGHT = 0xb;
static const Shortint WP_SMALLFRAMEBOTTOM = 0xc;
static const Shortint WP_SYSBUTTON = 0xd;
static const Shortint WP_MDISYSBUTTON = 0xe;
static const Shortint WP_MINBUTTON = 0xf;
static const Shortint WP_MDIMINBUTTON = 0x10;
static const Shortint WP_MAXBUTTON = 0x11;
static const Shortint WP_CLOSEBUTTON = 0x12;
static const Shortint WP_SMALLCLOSEBUTTON = 0x13;
static const Shortint WP_MDICLOSEBUTTON = 0x14;
static const Shortint WP_RESTOREBUTTON = 0x15;
static const Shortint WP_MDIRESTOREBUTTON = 0x16;
static const Shortint WP_HELPBUTTON = 0x17;
static const Shortint WP_MDIHELPBUTTON = 0x18;
static const Shortint WP_HORZSCROLL = 0x19;
static const Shortint WP_HORZTHUMB = 0x1a;
static const Shortint WP_VERTSCROLL = 0x1b;
static const Shortint WP_VERTTHUMB = 0x1c;
static const Shortint WP_DIALOG = 0x1d;
static const Shortint WP_CAPTIONSIZINGTEMPLATE = 0x1e;
static const Shortint WP_SMALLCAPTIONSIZINGTEMPLATE = 0x1f;
static const Shortint WP_FRAMELEFTSIZINGTEMPLATE = 0x20;
static const Shortint WP_SMALLFRAMELEFTSIZINGTEMPLATE = 0x21;
static const Shortint WP_FRAMERIGHTSIZINGTEMPLATE = 0x22;
static const Shortint WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 0x23;
static const Shortint WP_FRAMEBOTTOMSIZINGTEMPLATE = 0x24;
static const Shortint WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 0x25;
static const Shortint FS_ACTIVE = 0x1;
static const Shortint FS_INACTIVE = 0x2;
static const Shortint CS_ACTIVE = 0x1;
static const Shortint CS_INACTIVE = 0x2;
static const Shortint CS_DISABLED = 0x3;
static const Shortint MXCS_ACTIVE = 0x1;
static const Shortint MXCS_INACTIVE = 0x2;
static const Shortint MXCS_DISABLED = 0x3;
static const Shortint MNCS_ACTIVE = 0x1;
static const Shortint MNCS_INACTIVE = 0x2;
static const Shortint MNCS_DISABLED = 0x3;
static const Shortint HSS_NORMAL = 0x1;
static const Shortint HSS_HOT = 0x2;
static const Shortint HSS_PUSHED = 0x3;
static const Shortint HSS_DISABLED = 0x4;
static const Shortint HTS_NORMAL = 0x1;
static const Shortint HTS_HOT = 0x2;
static const Shortint HTS_PUSHED = 0x3;
static const Shortint HTS_DISABLED = 0x4;
static const Shortint VSS_NORMAL = 0x1;
static const Shortint VSS_HOT = 0x2;
static const Shortint VSS_PUSHED = 0x3;
static const Shortint VSS_DISABLED = 0x4;
static const Shortint VTS_NORMAL = 0x1;
static const Shortint VTS_HOT = 0x2;
static const Shortint VTS_PUSHED = 0x3;
static const Shortint VTS_DISABLED = 0x4;
static const Shortint SBS_NORMAL = 0x1;
static const Shortint SBS_HOT = 0x2;
static const Shortint SBS_PUSHED = 0x3;
static const Shortint SBS_DISABLED = 0x4;
static const Shortint MINBS_NORMAL = 0x1;
static const Shortint MINBS_HOT = 0x2;
static const Shortint MINBS_PUSHED = 0x3;
static const Shortint MINBS_DISABLED = 0x4;
static const Shortint MAXBS_NORMAL = 0x1;
static const Shortint MAXBS_HOT = 0x2;
static const Shortint MAXBS_PUSHED = 0x3;
static const Shortint MAXBS_DISABLED = 0x4;
static const Shortint RBS_NORMAL = 0x1;
static const Shortint RBS_HOT = 0x2;
static const Shortint RBS_PUSHED = 0x3;
static const Shortint RBS_DISABLED = 0x4;
static const Shortint HBS_NORMAL = 0x1;
static const Shortint HBS_HOT = 0x2;
static const Shortint HBS_PUSHED = 0x3;
static const Shortint HBS_DISABLED = 0x4;
static const Shortint CBS_NORMAL = 0x1;
static const Shortint CBS_HOT = 0x2;
static const Shortint CBS_PUSHED = 0x3;
static const Shortint CBS_DISABLED = 0x4;
static const Shortint BP_PUSHBUTTON = 0x1;
static const Shortint BP_RADIOBUTTON = 0x2;
static const Shortint BP_CHECKBOX = 0x3;
static const Shortint BP_GROUPBOX = 0x4;
static const Shortint BP_USERBUTTON = 0x5;
static const Shortint PBS_NORMAL = 0x1;
static const Shortint PBS_HOT = 0x2;
static const Shortint PBS_PRESSED = 0x3;
static const Shortint PBS_DISABLED = 0x4;
static const Shortint PBS_DEFAULTED = 0x5;
static const Shortint RBS_UNCHECKEDNORMAL = 0x1;
static const Shortint RBS_UNCHECKEDHOT = 0x2;
static const Shortint RBS_UNCHECKEDPRESSED = 0x3;
static const Shortint RBS_UNCHECKEDDISABLED = 0x4;
static const Shortint RBS_CHECKEDNORMAL = 0x5;
static const Shortint RBS_CHECKEDHOT = 0x6;
static const Shortint RBS_CHECKEDPRESSED = 0x7;
static const Shortint RBS_CHECKEDDISABLED = 0x8;
static const Shortint CBS_UNCHECKEDNORMAL = 0x1;
static const Shortint CBS_UNCHECKEDHOT = 0x2;
static const Shortint CBS_UNCHECKEDPRESSED = 0x3;
static const Shortint CBS_UNCHECKEDDISABLED = 0x4;
static const Shortint CBS_CHECKEDNORMAL = 0x5;
static const Shortint CBS_CHECKEDHOT = 0x6;
static const Shortint CBS_CHECKEDPRESSED = 0x7;
static const Shortint CBS_CHECKEDDISABLED = 0x8;
static const Shortint CBS_MIXEDNORMAL = 0x9;
static const Shortint CBS_MIXEDHOT = 0xa;
static const Shortint CBS_MIXEDPRESSED = 0xb;
static const Shortint CBS_MIXEDDISABLED = 0xc;
static const Shortint GBS_NORMAL = 0x1;
static const Shortint GBS_DISABLED = 0x2;
static const Shortint RP_GRIPPER = 0x1;
static const Shortint RP_GRIPPERVERT = 0x2;
static const Shortint RP_BAND = 0x3;
static const Shortint RP_CHEVRON = 0x4;
static const Shortint RP_CHEVRONVERT = 0x5;
static const Shortint CHEVS_NORMAL = 0x1;
static const Shortint CHEVS_HOT = 0x2;
static const Shortint CHEVS_PRESSED = 0x3;
static const Shortint TP_BUTTON = 0x1;
static const Shortint TP_DROPDOWNBUTTON = 0x2;
static const Shortint TP_SPLITBUTTON = 0x3;
static const Shortint TP_SPLITBUTTONDROPDOWN = 0x4;
static const Shortint TP_SEPARATOR = 0x5;
static const Shortint TP_SEPARATORVERT = 0x6;
static const Shortint TS_NORMAL = 0x1;
static const Shortint TS_HOT = 0x2;
static const Shortint TS_PRESSED = 0x3;
static const Shortint TS_DISABLED = 0x4;
static const Shortint TS_CHECKED = 0x5;
static const Shortint TS_HOTCHECKED = 0x6;
static const Shortint SP_PANE = 0x1;
static const Shortint SP_GRIPPERPANE = 0x2;
static const Shortint SP_GRIPPER = 0x3;
static const Shortint MP_MENUITEM = 0x1;
static const Shortint MP_MENUDROPDOWN = 0x2;
static const Shortint MP_MENUBARITEM = 0x3;
static const Shortint MP_MENUBARDROPDOWN = 0x4;
static const Shortint MP_CHEVRON = 0x5;
static const Shortint MP_SEPARATOR = 0x6;
static const Shortint MS_NORMAL = 0x1;
static const Shortint MS_SELECTED = 0x2;
static const Shortint MS_DEMOTED = 0x3;
static const Shortint LVP_LISTITEM = 0x1;
static const Shortint LVP_LISTGROUP = 0x2;
static const Shortint LVP_LISTDETAIL = 0x3;
static const Shortint LVP_LISTSORTEDDETAIL = 0x4;
static const Shortint LVP_EMPTYTEXT = 0x5;
static const Shortint LIS_NORMAL = 0x1;
static const Shortint LIS_HOT = 0x2;
static const Shortint LIS_SELECTED = 0x3;
static const Shortint LIS_DISABLED = 0x4;
static const Shortint LIS_SELECTEDNOTFOCUS = 0x5;
static const Shortint HP_HEADERITEM = 0x1;
static const Shortint HP_HEADERITEMLEFT = 0x2;
static const Shortint HP_HEADERITEMRIGHT = 0x3;
static const Shortint HP_HEADERSORTARROW = 0x4;
static const Shortint HIS_NORMAL = 0x1;
static const Shortint HIS_HOT = 0x2;
static const Shortint HIS_PRESSED = 0x3;
static const Shortint HILS_NORMAL = 0x1;
static const Shortint HILS_HOT = 0x2;
static const Shortint HILS_PRESSED = 0x3;
static const Shortint HIRS_NORMAL = 0x1;
static const Shortint HIRS_HOT = 0x2;
static const Shortint HIRS_PRESSED = 0x3;
static const Shortint HSAS_SORTEDUP = 0x1;
static const Shortint HSAS_SORTEDDOWN = 0x2;
static const Shortint PP_BAR = 0x1;
static const Shortint PP_BARVERT = 0x2;
static const Shortint PP_CHUNK = 0x3;
static const Shortint PP_CHUNKVERT = 0x4;
static const Shortint TABP_TABITEM = 0x1;
static const Shortint TABP_TABITEMLEFTEDGE = 0x2;
static const Shortint TABP_TABITEMRIGHTEDGE = 0x3;
static const Shortint TABP_TABITEMBOTHEDGE = 0x4;
static const Shortint TABP_TOPTABITEM = 0x5;
static const Shortint TABP_TOPTABITEMLEFTEDGE = 0x6;
static const Shortint TABP_TOPTABITEMRIGHTEDGE = 0x7;
static const Shortint TABP_TOPTABITEMBOTHEDGE = 0x8;
static const Shortint TABP_PANE = 0x9;
static const Shortint TABP_BODY = 0xa;
static const Shortint TIS_NORMAL = 0x1;
static const Shortint TIS_HOT = 0x2;
static const Shortint TIS_SELECTED = 0x3;
static const Shortint TIS_DISABLED = 0x4;
static const Shortint TIS_FOCUSED = 0x5;
static const Shortint TILES_NORMAL = 0x1;
static const Shortint TILES_HOT = 0x2;
static const Shortint TILES_SELECTED = 0x3;
static const Shortint TILES_DISABLED = 0x4;
static const Shortint TILES_FOCUSED = 0x5;
static const Shortint TIRES_NORMAL = 0x1;
static const Shortint TIRES_HOT = 0x2;
static const Shortint TIRES_SELECTED = 0x3;
static const Shortint TIRES_DISABLED = 0x4;
static const Shortint TIRES_FOCUSED = 0x5;
static const Shortint TIBES_NORMAL = 0x1;
static const Shortint TIBES_HOT = 0x2;
static const Shortint TIBES_SELECTED = 0x3;
static const Shortint TIBES_DISABLED = 0x4;
static const Shortint TIBES_FOCUSED = 0x5;
static const Shortint TTIS_NORMAL = 0x1;
static const Shortint TTIS_HOT = 0x2;
static const Shortint TTIS_SELECTED = 0x3;
static const Shortint TTIS_DISABLED = 0x4;
static const Shortint TTIS_FOCUSED = 0x5;
static const Shortint TTILES_NORMAL = 0x1;
static const Shortint TTILES_HOT = 0x2;
static const Shortint TTILES_SELECTED = 0x3;
static const Shortint TTILES_DISABLED = 0x4;
static const Shortint TTILES_FOCUSED = 0x5;
static const Shortint TTIRES_NORMAL = 0x1;
static const Shortint TTIRES_HOT = 0x2;
static const Shortint TTIRES_SELECTED = 0x3;
static const Shortint TTIRES_DISABLED = 0x4;
static const Shortint TTIRES_FOCUSED = 0x5;
static const Shortint TTIBES_NORMAL = 0x1;
static const Shortint TTIBES_HOT = 0x2;
static const Shortint TTIBES_SELECTED = 0x3;
static const Shortint TTIBES_DISABLED = 0x4;
static const Shortint TTIBES_FOCUSED = 0x5;
static const Shortint TKP_TRACK = 0x1;
static const Shortint TKP_TRACKVERT = 0x2;
static const Shortint TKP_THUMB = 0x3;
static const Shortint TKP_THUMBBOTTOM = 0x4;
static const Shortint TKP_THUMBTOP = 0x5;
static const Shortint TKP_THUMBVERT = 0x6;
static const Shortint TKP_THUMBLEFT = 0x7;
static const Shortint TKP_THUMBRIGHT = 0x8;
static const Shortint TKP_TICS = 0x9;
static const Shortint TKP_TICSVERT = 0xa;
static const Shortint TKS_NORMAL = 0x1;
static const Shortint TRS_NORMAL = 0x1;
static const Shortint TRVS_NORMAL = 0x1;
static const Shortint TUS_NORMAL = 0x1;
static const Shortint TUS_HOT = 0x2;
static const Shortint TUS_PRESSED = 0x3;
static const Shortint TUS_FOCUSED = 0x4;
static const Shortint TUS_DISABLED = 0x5;
static const Shortint TUBS_NORMAL = 0x1;
static const Shortint TUBS_HOT = 0x2;
static const Shortint TUBS_PRESSED = 0x3;
static const Shortint TUBS_FOCUSED = 0x4;
static const Shortint TUBS_DISABLED = 0x5;
static const Shortint TUTS_NORMAL = 0x1;
static const Shortint TUTS_HOT = 0x2;
static const Shortint TUTS_PRESSED = 0x3;
static const Shortint TUTS_FOCUSED = 0x4;
static const Shortint TUTS_DISABLED = 0x5;
static const Shortint TUVS_NORMAL = 0x1;
static const Shortint TUVS_HOT = 0x2;
static const Shortint TUVS_PRESSED = 0x3;
static const Shortint TUVS_FOCUSED = 0x4;
static const Shortint TUVS_DISABLED = 0x5;
static const Shortint TUVLS_NORMAL = 0x1;
static const Shortint TUVLS_HOT = 0x2;
static const Shortint TUVLS_PRESSED = 0x3;
static const Shortint TUVLS_FOCUSED = 0x4;
static const Shortint TUVLS_DISABLED = 0x5;
static const Shortint TUVRS_NORMAL = 0x1;
static const Shortint TUVRS_HOT = 0x2;
static const Shortint TUVRS_PRESSED = 0x3;
static const Shortint TUVRS_FOCUSED = 0x4;
static const Shortint TUVRS_DISABLED = 0x5;
static const Shortint TSS_NORMAL = 0x1;
static const Shortint TSVS_NORMAL = 0x1;
static const Shortint TTP_STANDARD = 0x1;
static const Shortint TTP_STANDARDTITLE = 0x2;
static const Shortint TTP_BALLOON = 0x3;
static const Shortint TTP_BALLOONTITLE = 0x4;
static const Shortint TTP_CLOSE = 0x5;
static const Shortint TTCS_NORMAL = 0x1;
static const Shortint TTCS_HOT = 0x2;
static const Shortint TTCS_PRESSED = 0x3;
static const Shortint TTSS_NORMAL = 0x1;
static const Shortint TTSS_LINK = 0x2;
static const Shortint TTBS_NORMAL = 0x1;
static const Shortint TTBS_LINK = 0x2;
static const Shortint TVP_TREEITEM = 0x1;
static const Shortint TVP_GLYPH = 0x2;
static const Shortint TVP_BRANCH = 0x3;
static const Shortint TREIS_NORMAL = 0x1;
static const Shortint TREIS_HOT = 0x2;
static const Shortint TREIS_SELECTED = 0x3;
static const Shortint TREIS_DISABLED = 0x4;
static const Shortint TREIS_SELECTEDNOTFOCUS = 0x5;
static const Shortint GLPS_CLOSED = 0x1;
static const Shortint GLPS_OPENED = 0x2;
static const Shortint SPNP_UP = 0x1;
static const Shortint SPNP_DOWN = 0x2;
static const Shortint SPNP_UPHORZ = 0x3;
static const Shortint SPNP_DOWNHORZ = 0x4;
static const Shortint UPS_NORMAL = 0x1;
static const Shortint UPS_HOT = 0x2;
static const Shortint UPS_PRESSED = 0x3;
static const Shortint UPS_DISABLED = 0x4;
static const Shortint DNS_NORMAL = 0x1;
static const Shortint DNS_HOT = 0x2;
static const Shortint DNS_PRESSED = 0x3;
static const Shortint DNS_DISABLED = 0x4;
static const Shortint UPHZS_NORMAL = 0x1;
static const Shortint UPHZS_HOT = 0x2;
static const Shortint UPHZS_PRESSED = 0x3;
static const Shortint UPHZS_DISABLED = 0x4;
static const Shortint DNHZS_NORMAL = 0x1;
static const Shortint DNHZS_HOT = 0x2;
static const Shortint DNHZS_PRESSED = 0x3;
static const Shortint DNHZS_DISABLED = 0x4;
static const Shortint PGRP_UP = 0x1;
static const Shortint PGRP_DOWN = 0x2;
static const Shortint PGRP_UPHORZ = 0x3;
static const Shortint PGRP_DOWNHORZ = 0x4;
static const Shortint SBP_ARROWBTN = 0x1;
static const Shortint SBP_THUMBBTNHORZ = 0x2;
static const Shortint SBP_THUMBBTNVERT = 0x3;
static const Shortint SBP_LOWERTRACKHORZ = 0x4;
static const Shortint SBP_UPPERTRACKHORZ = 0x5;
static const Shortint SBP_LOWERTRACKVERT = 0x6;
static const Shortint SBP_UPPERTRACKVERT = 0x7;
static const Shortint SBP_GRIPPERHORZ = 0x8;
static const Shortint SBP_GRIPPERVERT = 0x9;
static const Shortint SBP_SIZEBOX = 0xa;
static const Shortint ABS_UPNORMAL = 0x1;
static const Shortint ABS_UPHOT = 0x2;
static const Shortint ABS_UPPRESSED = 0x3;
static const Shortint ABS_UPDISABLED = 0x4;
static const Shortint ABS_DOWNNORMAL = 0x5;
static const Shortint ABS_DOWNHOT = 0x6;
static const Shortint ABS_DOWNPRESSED = 0x7;
static const Shortint ABS_DOWNDISABLED = 0x8;
static const Shortint ABS_LEFTNORMAL = 0x9;
static const Shortint ABS_LEFTHOT = 0xa;
static const Shortint ABS_LEFTPRESSED = 0xb;
static const Shortint ABS_LEFTDISABLED = 0xc;
static const Shortint ABS_RIGHTNORMAL = 0xd;
static const Shortint ABS_RIGHTHOT = 0xe;
static const Shortint ABS_RIGHTPRESSED = 0xf;
static const Shortint ABS_RIGHTDISABLED = 0x10;
static const Shortint SCRBS_NORMAL = 0x1;
static const Shortint SCRBS_HOT = 0x2;
static const Shortint SCRBS_PRESSED = 0x3;
static const Shortint SCRBS_DISABLED = 0x4;
static const Shortint SZB_RIGHTALIGN = 0x1;
static const Shortint SZB_LEFTALIGN = 0x2;
static const Shortint EP_EDITTEXT = 0x1;
static const Shortint EP_CARET = 0x2;
static const Shortint ETS_NORMAL = 0x1;
static const Shortint ETS_HOT = 0x2;
static const Shortint ETS_SELECTED = 0x3;
static const Shortint ETS_DISABLED = 0x4;
static const Shortint ETS_FOCUSED = 0x5;
static const Shortint ETS_READONLY = 0x6;
static const Shortint ETS_ASSIST = 0x7;
static const Shortint CP_DROPDOWNBUTTON = 0x1;
static const Shortint CBXS_NORMAL = 0x1;
static const Shortint CBXS_HOT = 0x2;
static const Shortint CBXS_PRESSED = 0x3;
static const Shortint CBXS_DISABLED = 0x4;
static const Shortint CLP_TIME = 0x1;
static const Shortint CLS_NORMAL = 0x1;
static const Shortint TNP_BACKGROUND = 0x1;
static const Shortint TNP_ANIMBACKGROUND = 0x2;
static const Shortint TBP_BACKGROUNDBOTTOM = 0x1;
static const Shortint TBP_BACKGROUNDRIGHT = 0x2;
static const Shortint TBP_BACKGROUNDTOP = 0x3;
static const Shortint TBP_BACKGROUNDLEFT = 0x4;
static const Shortint TBP_SIZINGBARBOTTOM = 0x5;
static const Shortint TBP_SIZINGBARRIGHT = 0x6;
static const Shortint TBP_SIZINGBARTOP = 0x7;
static const Shortint TBP_SIZINGBARLEFT = 0x8;
static const Shortint TDP_GROUPCOUNT = 0x1;
static const Shortint TDP_FLASHBUTTON = 0x2;
static const Shortint TDP_FLASHBUTTONGROUPMENU = 0x3;
static const Shortint SPP_USERPANE = 0x1;
static const Shortint SPP_MOREPROGRAMS = 0x2;
static const Shortint SPP_MOREPROGRAMSARROW = 0x3;
static const Shortint SPP_PROGLIST = 0x4;
static const Shortint SPP_PROGLISTSEPARATOR = 0x5;
static const Shortint SPP_PLACESLIST = 0x6;
static const Shortint SPP_PLACESLISTSEPARATOR = 0x7;
static const Shortint SPP_LOGOFF = 0x8;
static const Shortint SPP_LOGOFFBUTTONS = 0x9;
static const Shortint SPP_USERPICTURE = 0xa;
static const Shortint SPP_PREVIEW = 0xb;
static const Shortint SPS_NORMAL = 0x1;
static const Shortint SPS_HOT = 0x2;
static const Shortint SPS_PRESSED = 0x3;
static const Shortint SPLS_NORMAL = 0x1;
static const Shortint SPLS_HOT = 0x2;
static const Shortint SPLS_PRESSED = 0x3;
static const Shortint EBP_HEADERBACKGROUND = 0x1;
static const Shortint EBP_HEADERCLOSE = 0x2;
static const Shortint EBP_HEADERPIN = 0x3;
static const Shortint EBP_IEBARMENU = 0x4;
static const Shortint EBP_NORMALGROUPBACKGROUND = 0x5;
static const Shortint EBP_NORMALGROUPCOLLAPSE = 0x6;
static const Shortint EBP_NORMALGROUPEXPAND = 0x7;
static const Shortint EBP_NORMALGROUPHEAD = 0x8;
static const Shortint EBP_SPECIALGROUPBACKGROUND = 0x9;
static const Shortint EBP_SPECIALGROUPCOLLAPSE = 0xa;
static const Shortint EBP_SPECIALGROUPEXPAND = 0xb;
static const Shortint EBP_SPECIALGROUPHEAD = 0xc;
static const Shortint EBHC_NORMAL = 0x1;
static const Shortint EBHC_HOT = 0x2;
static const Shortint EBHC_PRESSED = 0x3;
static const Shortint EBHP_NORMAL = 0x1;
static const Shortint EBHP_HOT = 0x2;
static const Shortint EBHP_PRESSED = 0x3;
static const Shortint EBHP_SELECTEDNORMAL = 0x4;
static const Shortint EBHP_SELECTEDHOT = 0x5;
static const Shortint EBHP_SELECTEDPRESSED = 0x6;
static const Shortint EBM_NORMAL = 0x1;
static const Shortint EBM_HOT = 0x2;
static const Shortint EBM_PRESSED = 0x3;
static const Shortint EBNGC_NORMAL = 0x1;
static const Shortint EBNGC_HOT = 0x2;
static const Shortint EBNGC_PRESSED = 0x3;
static const Shortint EBNGE_NORMAL = 0x1;
static const Shortint EBNGE_HOT = 0x2;
static const Shortint EBNGE_PRESSED = 0x3;
static const Shortint EBSGC_NORMAL = 0x1;
static const Shortint EBSGC_HOT = 0x2;
static const Shortint EBSGC_PRESSED = 0x3;
static const Shortint EBSGE_NORMAL = 0x1;
static const Shortint EBSGE_HOT = 0x2;
static const Shortint EBSGE_PRESSED = 0x3;
static const Shortint MDP_NEWAPPBUTTON = 0x1;
static const Shortint MDP_SEPERATOR = 0x2;
static const Shortint MDS_NORMAL = 0x1;
static const Shortint MDS_HOT = 0x2;
static const Shortint MDS_PRESSED = 0x3;
static const Shortint MDS_DISABLED = 0x4;
static const Shortint MDS_CHECKED = 0x5;
static const Shortint MDS_HOTCHECKED = 0x6;
static const Shortint DTT_GRAYED = 0x1;
static const Shortint HTTB_BACKGROUNDSEG = 0x0;
static const Shortint HTTB_FIXEDBORDER = 0x2;
static const Shortint HTTB_CAPTION = 0x4;
static const Shortint HTTB_RESIZINGBORDER_LEFT = 0x10;
static const Shortint HTTB_RESIZINGBORDER_TOP = 0x20;
static const Shortint HTTB_RESIZINGBORDER_RIGHT = 0x40;
static const Byte HTTB_RESIZINGBORDER_BOTTOM = 0x80;
static const Shortint HTTB_RESIZINGBORDER = 0x30;
static const Word HTTB_SIZINGTEMPLATE = 0x100;
static const Word HTTB_SYSTEMSIZINGMARGINS = 0x200;
static const Shortint MAX_INTLIST_COUNT = 0xa;
static const Shortint ETDT_DISABLE = 0x1;
static const Shortint ETDT_ENABLE = 0x2;
static const Shortint ETDT_USETABTEXTURE = 0x4;
static const Shortint ETDT_ENABLETAB = 0x6;
static const Shortint STAP_ALLOW_NONCLIENT = 0x1;
static const Shortint STAP_ALLOW_CONTROLS = 0x2;
static const Shortint STAP_ALLOW_WEBCONTENT = 0x4;
#define SZ_THDOCPROP_DISPLAYNAME "DisplayName"
#define SZ_THDOCPROP_CANONICALNAME "ThemeName"
#define SZ_THDOCPROP_TOOLTIP "ToolTip"
#define SZ_THDOCPROP_AUTHOR "author"
extern PACKAGE unsigned __stdcall (*OpenThemeData)(unsigned hwnd, wchar_t * pszClassList);
extern PACKAGE unsigned __stdcall (*CloseThemeData)(unsigned hTheme);
extern PACKAGE unsigned __stdcall (*DrawThemeBackground)(unsigned hTheme, HDC hdc, int iPartId, int 
	iStateId, const Windows::PRect pRect, const Windows::PRect pClipRect);
extern PACKAGE unsigned __stdcall (*DrawThemeText)(unsigned hTheme, HDC hdc, int iPartId, int iStateId
	, wchar_t * &pszText, int iCharCount, int dwTextFlags, int dwTextFlags2, const Windows::PRect pRect
	);
extern PACKAGE unsigned __stdcall (*GetThemeBackgroundContentRect)(unsigned hTheme, HDC hdc, int iPartId
	, int iStateId, const Windows::PRect pBoundingRect, Windows::TRect &pContentRect);
extern PACKAGE unsigned __stdcall (*GetThemeBackgroundExtent)(unsigned hTheme, HDC hdc, int iPartId, 
	int iStateId, const Windows::PRect pContentRect, Windows::TRect &pExtentRect);
extern PACKAGE unsigned __stdcall (*GetThemeTextExtent)(unsigned hTheme, HDC hdc, int iPartId, int iStateId
	, wchar_t * &pszText, int iCharCount, int dwTextFlags, const Windows::PRect pBoundingRect, Windows::TRect 
	&pExtentRect);
extern PACKAGE unsigned __stdcall (*GetThemeTextMetrics)(unsigned hTheme, HDC hdc, int iPartId, int 
	iStateId, tagTEXTMETRICA &ptm);
extern PACKAGE unsigned __stdcall (*GetThemeBackgroundRegion)(unsigned hTheme, HDC hdc, int iPartId, 
	int iStateId, const Windows::PRect pRect, HRGN &pRegion);
extern PACKAGE unsigned __stdcall (*HitTestThemeBackground)(unsigned hTheme, HDC hdc, int iPartId, int 
	iStateId, int dwOptions, const Windows::PRect pRect, HRGN hrgn, int &ptTest, Word &pwHitTestCode);
extern PACKAGE unsigned __stdcall (*DrawThemeEdge)(unsigned hTheme, HDC hdc, int iPartId, int iStateId
	, const Windows::PRect pDestRect, Word uEdge, Word uFlags, Windows::TRect &pContentRect);
extern PACKAGE unsigned __stdcall (*DrawThemeIcon)(unsigned hTheme, HDC hdc, int iPartId, int iStateId
	, const Windows::PRect pRect, unsigned himl, int iImageIndex);
extern PACKAGE int __stdcall (*IsThemePartDefined)(unsigned hTheme, int iPartId, int iStateId);
extern PACKAGE int __stdcall (*IsThemeBackGroundPartiallyTransparent)(unsigned hTheme, int iPartId, 
	int iStateId);
extern PACKAGE unsigned __stdcall (*GetThemeColor)(unsigned hTheme, int iPartId, int iStateId, int iPropId
	, Graphics::TColor &pColor);
extern PACKAGE unsigned __stdcall (*GetThemeMetric)(unsigned hTheme, HDC hdc, int iPartId, int iStateId
	, int iPropId, int &piVal);
extern PACKAGE unsigned __stdcall (*GetThemeString)(unsigned hTheme, int iPartId, int iStateId, int 
	iPropId, wchar_t * pszBuff, int cchMaxBuffChars);
extern PACKAGE unsigned __stdcall (*GetThemeBool)(unsigned hTheme, int iPartId, int iStateId, int iPropId
	, BOOL &pfVal);
extern PACKAGE unsigned __stdcall (*GetThemeInt)(unsigned hTheme, int iPartId, int iStateId, int iPropId
	, int &piVal);
extern PACKAGE unsigned __stdcall (*GetThemeEnumValue)(unsigned hTheme, int iPartId, int iStateId, int 
	iPropId, int &piVal);
extern PACKAGE unsigned __stdcall (*GetThemePosition)(unsigned hTheme, int iPartId, int iStateId, int 
	iPropId, Windows::TPoint &pPoint);
extern PACKAGE unsigned __stdcall (*GetThemeFont)(unsigned hTheme, HDC hdc, int iPartId, int iStateId
	, int iPropId, tagLOGFONTA &pFont);
extern PACKAGE unsigned __stdcall (*GetThemeRect)(unsigned hTheme, int iPartId, int iStateId, int iPropId
	, Windows::TRect &pRect);
extern PACKAGE unsigned __stdcall (*GetThemeMargins)(unsigned hTheme, HDC hdc, int iPartId, int iStateId
	, int iPropId, Windows::TRect &prc, Windows::TRect &pMargins);
extern PACKAGE unsigned __stdcall (*GetThemeIntList)(unsigned hTheme, int iPartId, int iStateId, int 
	iPropId, void * &pIntList);
extern PACKAGE unsigned __stdcall (*SetWindowTheme)(HWND hwnd, wchar_t * &pszSubAppName, wchar_t * &
	pszSubIdList);
extern PACKAGE unsigned __stdcall (*GetThemeFilename)(unsigned hTheme, int iPartId, int iStateId, int 
	iPropId, wchar_t * pszThemeFileName, int cchMaxBuffChars);
extern PACKAGE int __stdcall (*GetThemeSysColor)(unsigned hTheme, int iColorId);
extern PACKAGE int __stdcall (*GetThemeSysColorBrush)(unsigned hTheme, int iColorId);
extern PACKAGE int __stdcall (*GetThemeSysBool)(unsigned hTheme, int iBoolId);
extern PACKAGE int __stdcall (*GetThemeSysSize)(unsigned hTheme, int iSizeId);
extern PACKAGE unsigned __stdcall (*GetThemeSysFont)(unsigned hTheme, int iFontId, tagLOGFONTA &plf)
	;
extern PACKAGE unsigned __stdcall (*GetThemeSysString)(unsigned hTheme, int iStringId, wchar_t * pszStringBuff
	, int cchMaxStringChars);
extern PACKAGE unsigned __stdcall (*GetThemeSysInt)(unsigned hTheme, int iIntId, int &piValue);
extern PACKAGE BOOL __stdcall (*IsThemeActive)(void);
extern PACKAGE BOOL __stdcall (*IsAppThemed)(void);
extern PACKAGE int __stdcall (*GetWindowTheme)(HWND hwnd);
extern PACKAGE unsigned __stdcall (*EnableThemeDialogTexture)(HWND hwnd, int dwFlags);
extern PACKAGE BOOL __stdcall (*IsThemeDialogTextureEnabled)(HWND hwnd);
extern PACKAGE unsigned __stdcall (*GetThemeAppProperties)(void);
extern PACKAGE int __stdcall (*SetThemeAppProperties)(unsigned dwFlags);
extern PACKAGE unsigned __stdcall (*GetCurrentThemeName)(wchar_t * pszThemeFileName, int cchMaxNameChars
	, wchar_t * pszColorBuff, int cchMaxColorChars, wchar_t * pszSizeBuff, int cchMaxSizeChars);
extern PACKAGE unsigned __stdcall (*GetThemeDocumentationProperty)(wchar_t * pszThemeName, wchar_t * 
	&pszPropertyName, wchar_t * pszValueBuff, int cchMaxValChars);
extern PACKAGE unsigned __stdcall (*DrawThemeParentBackground)(HWND hwnd, HDC hdc, Windows::TRect &prc
	);
extern PACKAGE unsigned __stdcall (*EnableTheming)(BOOL fEnable);

}	/* namespace Advxpvs */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Advxpvs;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// AdvXPVS
