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

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

#ifndef RVXPThemeHPP
#define RVXPThemeHPP

#pragma delphiheader begin
#pragma option push -w-
#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;

typedef bool __stdcall (*RV_IsThemeActiveProc)(void);

typedef bool __stdcall (*RV_IsAppThemedProc)(void);

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

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

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

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

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

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

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

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE RV_IsThemeActiveProc RV_IsThemeActive;
extern PACKAGE RV_IsAppThemedProc RV_IsAppThemed;
extern PACKAGE RV_OpenThemeDataProc RV_OpenThemeData;
extern PACKAGE RV_CloseThemeDataProc RV_CloseThemeData;
extern PACKAGE RV_DrawThemeParentBackgroundProc RV_DrawThemeParentBackground;
extern PACKAGE RV_DrawThemeEdgeProc RV_DrawThemeEdge;
extern PACKAGE RV_DrawThemeBackgroundProc RV_DrawThemeBackground;
extern PACKAGE RV_DrawThemeTextProc RV_DrawThemeText;
extern PACKAGE RV_IsThemeBackgroundPartiallyTransparentProc RV_IsThemeBackgroundPartiallyTransparent
	;
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;

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

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