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

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

#ifndef RVXPThemeHPP
#define RVXPThemeHPP

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

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

namespace Rvxptheme
{
//-- type declarations -------------------------------------------------------
typedef unsigned HTheme;

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

typedef bool __stdcall (*TRV_IsThemeActiveProc)(void);

typedef bool __stdcall (*TRV_IsAppThemedProc)(void);

typedef unsigned __stdcall (*TRV_OpenThemeDataProc)(HWND hwnd, wchar_t * pszClassList);

typedef HRESULT __stdcall (*TRV_CloseThemeDataProc)(unsigned Theme);

typedef HRESULT __stdcall (*TRV_DrawThemeParentBackgroundProc)(HWND hwnd, HDC hdc, Windows::PRect Rect
	);

typedef HRESULT __stdcall (*TRV_DrawThemeEdgeProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId
	, const Windows::TRect &pDestRect, unsigned uEdge, unsigned uFlags, Windows::PRect pContentRect);

typedef HRESULT __stdcall (*TRV_DrawThemeBackgroundProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId
	, const Windows::TRect &Rect, Windows::PRect pClipRect);

typedef HRESULT __stdcall (*TRV_DrawThemeTextProc)(unsigned Theme, HDC hdc, int iPartId, int iStateId
	, wchar_t * pszText, int iCharCount, unsigned dwTextFlags, unsigned dwTextFlags2, Windows::TRect &Rect
	);

typedef bool __stdcall (*TRV_IsThemeBackgroundPartiallyTransparentProc)(unsigned hTheme, int iPartId
	, int iStateId);

typedef HRESULT __stdcall (*TRV_GetThemeRectProc)(unsigned Theme, int iPartId, int iStateId, int iPropId
	, Windows::TRect &pRect);

typedef HRESULT __stdcall (*TRV_GetThemePartSizeProc)(unsigned hTheme, HDC hdc, int iPartId, int iStateId
	, Windows::PRect prc, TThemeSize eSize, tagSIZE &psz);

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TRV_IsThemeActiveProc RV_IsThemeActive;
extern PACKAGE TRV_IsAppThemedProc RV_IsAppThemed;
extern PACKAGE TRV_OpenThemeDataProc RV_OpenThemeData;
extern PACKAGE TRV_CloseThemeDataProc RV_CloseThemeData;
extern PACKAGE TRV_DrawThemeParentBackgroundProc RV_DrawThemeParentBackground;
extern PACKAGE TRV_DrawThemeEdgeProc RV_DrawThemeEdge;
extern PACKAGE TRV_DrawThemeBackgroundProc RV_DrawThemeBackground;
extern PACKAGE TRV_DrawThemeTextProc RV_DrawThemeText;
extern PACKAGE TRV_IsThemeBackgroundPartiallyTransparentProc RV_IsThemeBackgroundPartiallyTransparent
	;
extern PACKAGE TRV_GetThemeRectProc RV_GetThemeRect;
extern PACKAGE TRV_GetThemePartSizeProc RV_GetThemePartSize;
static const Word WM_THEMECHANGED = 0x31a;
static const Shortint EP_EDITTEXT = 0x1;
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 BP_RADIOBUTTON = 0x2;
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 BP_CHECKBOX = 0x3;
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 BP_GROUPBOX = 0x4;
static const Shortint GBS_NORMAL = 0x1;
static const Shortint GBS_DISABLED = 0x2;
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 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 ABS_UPHOVER = 0x11;
static const Shortint ABS_DOWNHOVER = 0x12;
static const Shortint ABS_LEFTHOVER = 0x13;
static const Shortint ABS_RIGHTHOVER = 0x14;
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 SCRBS_HOVER = 0x5;
static const Word TMT_DEFAULTPANESIZE = 0x138a;

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

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