// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Iwextctrls.pas' rev: 10.00

#ifndef IwextctrlsHPP
#define IwextctrlsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Iwvclcomponent.hpp>	// Pascal unit
#include <Iwvclclasses.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Iwbasehtmlcontrol.hpp>	// Pascal unit
#include <Iwcontrol.hpp>	// Pascal unit
#include <Iwtypes.hpp>	// Pascal unit
#include <Iwfilereference.hpp>	// Pascal unit
#include <Iwhtmltag.hpp>	// Pascal unit
#include <Iwscriptevents.hpp>	// Pascal unit
#include <Iwglobal.hpp>	// Pascal unit
#include <Iwcolor.hpp>	// Pascal unit
#include <Iwrendercontext.hpp>	// Pascal unit
#include <Iwjpegoptions.hpp>	// Pascal unit
#include <Iwcontainerborderoptions.hpp>	// Pascal unit
#include <Iwbaseinterfaces.hpp>	// Pascal unit
#include <Iwhtml40interfaces.hpp>	// Pascal unit
#include <Iwbasehtmlcomponent.hpp>	// Pascal unit
#include <Iwbaserendercontext.hpp>	// Pascal unit
#include <Iwvclbasecontrol.hpp>	// Pascal unit
#include <Iwbasecontrol.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Iwfont.hpp>	// Pascal unit
#include <Iwbasecomponent.hpp>	// Pascal unit

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

namespace Iwextctrls
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIWCustomRadioGroup;
class PASCALIMPLEMENTATION TIWCustomRadioGroup : public Iwcontrol::TIWCustomControl 
{
	typedef Iwcontrol::TIWCustomControl inherited;
	
protected:
	virtual void __fastcall Dispose(bool ADispose);
	AnsiString FSubmitParam;
	int FItemIndex;
	Classes::TStringList* FItems;
	Iwbasehtmlcontrol::TIWRadioGroupLayout FLayout;
	void __fastcall SetItemIndex(int AIndex);
	void __fastcall OnItemsChange(System::TObject* ASender);
	void __fastcall SetItems(Classes::TStringList* AValue);
	void __fastcall SetLayout(const Iwbasehtmlcontrol::TIWRadioGroupLayout AValue);
	virtual void __fastcall SetValue(const AnsiString AValue);
	virtual void __fastcall HookEvents(Iwrendercontext::TIWPageContext40* AContext, Iwscriptevents::TIWScriptEvents* AScriptEvents);
	virtual void __fastcall Submit(const AnsiString AValue);
	virtual void __fastcall GetInputControlNames(Classes::TStringList* ANames);
	virtual bool __fastcall IsForThisControl(AnsiString AName);
	virtual void __fastcall InitControl(void);
	virtual void __fastcall DoClick(void);
	
public:
	AnsiString __fastcall GetSubmitParam();
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	virtual AnsiString __fastcall RenderStyle(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	__property int ItemIndex = {read=FItemIndex, write=SetItemIndex, nodefault};
	__property Classes::TStringList* Items = {read=FItems, write=SetItems};
	__property Iwbasehtmlcontrol::TIWRadioGroupLayout Layout = {read=FLayout, write=SetLayout, nodefault};
	
__published:
	__property OnClick ;
	__property Confirmation ;
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWCustomRadioGroup(Classes::TComponent* AOwner) : Iwcontrol::TIWCustomControl(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWCustomRadioGroup(void) { }
	#pragma option pop
	
private:
	void *__IIWInputControl;	/* Iwbaseinterfaces::IIWInputControl */
	void *__IIWSubmitControl;	/* Iwbaseinterfaces::IIWSubmitControl */
	void *__IIWTabOrder;	/* Iwbaseinterfaces::IIWTabOrder */
	
public:
	operator IIWTabOrder*(void) { return (IIWTabOrder*)&__IIWTabOrder; }
	operator IIWSubmitControl*(void) { return (IIWSubmitControl*)&__IIWSubmitControl; }
	operator IIWInputControl*(void) { return (IIWInputControl*)&__IIWInputControl; }
	
};


class DELPHICLASS TIWRadioGroup;
class PASCALIMPLEMENTATION TIWRadioGroup : public TIWCustomRadioGroup 
{
	typedef TIWCustomRadioGroup inherited;
	
__published:
	__property Editable ;
	__property Enabled  = {default=1};
	__property Font ;
	__property FriendlyName ;
	__property ItemIndex ;
	__property Items ;
	__property Layout ;
	__property ScriptEvents ;
	__property TabOrder ;
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWRadioGroup(Classes::TComponent* AOwner) : TIWCustomRadioGroup(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWRadioGroup(void) { }
	#pragma option pop
	
};


typedef void __fastcall (__closure *TIWImageOnMouseDown)(System::TObject* ASender, const int AX, const int AY);

#pragma option push -b-
enum TIWImageOutput { ioJPEG, ioGIF };
#pragma option pop

class DELPHICLASS TIWCustomImage;
class PASCALIMPLEMENTATION TIWCustomImage : public Iwcontrol::TIWCustomControl 
{
	typedef Iwcontrol::TIWCustomControl inherited;
	
protected:
	virtual void __fastcall Dispose(bool ADispose);
	AnsiString FAltText;
	Iwcontainerborderoptions::TIWBorderOptions* FBorderOptions;
	TIWImageOnMouseDown FOnMouseDown;
	TIWImageOutput FOutputType;
	Graphics::TPicture* FPicture;
	AnsiString FSubmitParam;
	bool FUseSize;
	virtual bool __fastcall CanAutoSize(int &VNewWidth, int &VNewHeight);
	void __fastcall CreatePicture(void);
	Classes::TNotifyEvent __fastcall GetOnClick();
	void __fastcall SetOnClick(const Classes::TNotifyEvent AValue);
	Iwhtmltag::TIWHTMLTag* __fastcall ImageHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext, const AnsiString ASrc);
	virtual void __fastcall HookEvents(Iwrendercontext::TIWPageContext40* AContext, Iwscriptevents::TIWScriptEvents* AScriptEvents);
	void __fastcall PictureChanged(System::TObject* ASender);
	void __fastcall SetOnMouseDown(const TIWImageOnMouseDown AValue);
	void __fastcall SetPicture(Graphics::TPicture* AValue);
	Graphics::TPicture* __fastcall GetPicture(void);
	virtual void __fastcall Submit(const AnsiString AValue);
	void __fastcall SetUseSize(const bool AValue);
	void __fastcall SetBorderOptions(Iwcontainerborderoptions::TIWBorderOptions* AValue);
	virtual void __fastcall SetAutoSize(bool AValue);
	virtual bool __fastcall get_HasTabOrder(void);
	virtual void __fastcall InitControl(void);
	
public:
	AnsiString __fastcall GetSubmitParam();
	__property Graphics::TPicture* Picture = {read=GetPicture, write=SetPicture};
	__property TIWImageOutput OutputType = {read=FOutputType, write=FOutputType, nodefault};
	
__published:
	__property AnsiString AltText = {read=FAltText, write=FAltText};
	__property AutoSize  = {default=1};
	__property Iwcontainerborderoptions::TIWBorderOptions* BorderOptions = {read=FBorderOptions, write=SetBorderOptions};
	__property Confirmation ;
	__property DoSubmitValidation ;
	__property ExtraTagParams ;
	__property Enabled  = {default=1};
	__property ScriptEvents ;
	__property TabOrder ;
	__property bool UseSize = {read=FUseSize, write=SetUseSize, nodefault};
	__property Classes::TNotifyEvent OnClick = {read=GetOnClick, write=SetOnClick};
	__property TIWImageOnMouseDown OnMouseDown = {read=FOnMouseDown, write=SetOnMouseDown};
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWCustomImage(Classes::TComponent* AOwner) : Iwcontrol::TIWCustomControl(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWCustomImage(void) { }
	#pragma option pop
	
private:
	void *__IIWSubmitControl;	/* Iwbaseinterfaces::IIWSubmitControl */
	
public:
	operator IIWSubmitControl*(void) { return (IIWSubmitControl*)&__IIWSubmitControl; }
	
};


class DELPHICLASS TIWDynamicImage;
class PASCALIMPLEMENTATION TIWDynamicImage : public TIWCustomImage 
{
	typedef TIWCustomImage inherited;
	
protected:
	virtual void __fastcall Dispose(bool ADispose);
	Iwjpegoptions::TIWJpegOptions* FJpegOptions;
	Iwcolor::TIWColor FTransparentColor;
	void __fastcall SetJpegOptions(const Iwjpegoptions::TIWJpegOptions* AValue);
	virtual void __fastcall InitControl(void);
	
public:
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	__property Iwcolor::TIWColor TransparentColor = {read=FTransparentColor, write=FTransparentColor, nodefault};
	__property Iwjpegoptions::TIWJpegOptions* JpegOptions = {read=FJpegOptions, write=SetJpegOptions};
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWDynamicImage(Classes::TComponent* AOwner) : TIWCustomImage(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWDynamicImage(void) { }
	#pragma option pop
	
};


class DELPHICLASS TIWImage;
class PASCALIMPLEMENTATION TIWImage : public TIWDynamicImage 
{
	typedef TIWDynamicImage inherited;
	
__published:
	__property Picture ;
	__property FriendlyName ;
	__property TransparentColor ;
	__property JpegOptions ;
	__property OutputType ;
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWImage(Classes::TComponent* AOwner) : TIWDynamicImage(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWImage(void) { }
	#pragma option pop
	
};


class DELPHICLASS TIWImageFile;
class PASCALIMPLEMENTATION TIWImageFile : public TIWCustomImage 
{
	typedef TIWCustomImage inherited;
	
protected:
	virtual void __fastcall Dispose(bool ADispose);
	bool FCacheable;
	Iwfilereference::TIWFileReference* FImageFile;
	virtual void __fastcall InitControl(void);
	virtual void __fastcall Loaded(void);
	void __fastcall ReferenceChanged(System::TObject* ASender);
	void __fastcall SetImageFile(const Iwfilereference::TIWFileReference* AValue);
	
public:
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	
__published:
	__property bool Cacheable = {read=FCacheable, write=FCacheable, nodefault};
	__property FriendlyName ;
	__property Iwfilereference::TIWFileReference* ImageFile = {read=FImageFile, write=SetImageFile};
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWImageFile(Classes::TComponent* AOwner) : TIWCustomImage(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWImageFile(void) { }
	#pragma option pop
	
};


class DELPHICLASS TIWImageButton;
class PASCALIMPLEMENTATION TIWImageButton : public TIWImageFile 
{
	typedef TIWImageFile inherited;
	
protected:
	AnsiString FHotKey;
	virtual void __fastcall HookEvents(Iwrendercontext::TIWPageContext40* AContext, Iwscriptevents::TIWScriptEvents* AScriptEvents);
	
public:
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	
__published:
	__property AnsiString HotKey = {read=FHotKey, write=FHotKey};
public:
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Create */ inline __fastcall virtual TIWImageButton(Classes::TComponent* AOwner) : TIWImageFile(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWVCLBaseControl.Destroy */ inline __fastcall virtual ~TIWImageButton(void) { }
	#pragma option pop
	
};


class DELPHICLASS TIWTimer;
class PASCALIMPLEMENTATION TIWTimer : public Iwbasehtmlcomponent::TIWBaseHTMLComponent 
{
	typedef Iwbasehtmlcomponent::TIWBaseHTMLComponent inherited;
	
protected:
	AnsiString FSubmitParam;
	bool FEnabled;
	int FInterval;
	Classes::TNotifyEvent FOnTimer;
	virtual void __fastcall Submit(const AnsiString AValue);
	Iwbaseinterfaces::TSubmitProc __fastcall GetSubmitProc();
	Iwtypes::TIWControlEncode __fastcall get_ControlEncode(void);
	void __fastcall SetControlEncode(const Iwtypes::TIWControlEncode AValue);
	virtual TMetaClass* __fastcall ComponentContextClass(void);
	virtual void __fastcall InitControl(void);
	bool __fastcall get_DoRefreshControl(void);
	void __fastcall set_DoRefreshControl(bool AValue);
	virtual AnsiString __fastcall RenderCSSClass(Iwrendercontext::TIWBaseHTMLComponentContext* AComponentContext);
	virtual AnsiString __fastcall RenderStyle(Iwrendercontext::TIWBaseHTMLComponentContext* AComponentContext);
	virtual void __fastcall RenderScripts(Iwrendercontext::TIWBaseHTMLComponentContext* AComponentContext);
	bool __fastcall WantsSubmitValidation(void);
	__property Iwtypes::TIWControlEncode ControlEncode = {read=get_ControlEncode, write=SetControlEncode, nodefault};
	
public:
	AnsiString __fastcall GetSubmitParam();
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	
__published:
	__property bool Enabled = {read=FEnabled, write=FEnabled, nodefault};
	__property int Interval = {read=FInterval, write=FInterval, nodefault};
	__property Classes::TNotifyEvent OnTimer = {read=FOnTimer, write=FOnTimer};
public:
	#pragma option push -w-inl
	/* TIWBaseComponent.Create */ inline __fastcall virtual TIWTimer(Classes::TComponent* AOwner) : Iwbasehtmlcomponent::TIWBaseHTMLComponent(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWBaseComponent.Destroy */ inline __fastcall virtual ~TIWTimer(void) { }
	#pragma option pop
	
private:
	void *__IIWHTML40Component;	/* Iwhtml40interfaces::IIWHTML40Component */
	void *__IIWSubmitControl;	/* Iwbaseinterfaces::IIWSubmitControl */
	
public:
	operator IIWSubmitControl*(void) { return (IIWSubmitControl*)&__IIWSubmitControl; }
	operator IIWHTML40Component*(void) { return (IIWHTML40Component*)&__IIWHTML40Component; }
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Iwextctrls */
using namespace Iwextctrls;
#pragma pack(pop)
#pragma option pop

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