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

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

#ifndef IwregionHPP
#define IwregionHPP

#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 <Iwvclbasecontrol.hpp>	// Pascal unit
#include <Iwvclbasecontainer.hpp>	// Pascal unit
#include <Iwvclcomponent.hpp>	// Pascal unit
#include <Iwvclclasses.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Iwfileparser.hpp>	// Pascal unit
#include <Iwcontainer.hpp>	// Pascal unit
#include <Iwcontrol.hpp>	// Pascal unit
#include <Iwhtmltag.hpp>	// Pascal unit
#include <Iwbasecontainerlayout.hpp>	// Pascal unit
#include <Iwcolor.hpp>	// Pascal unit
#include <Iwbaseinterfaces.hpp>	// Pascal unit
#include <Iwrendercontext.hpp>	// Pascal unit
#include <Iwcontainerlayout.hpp>	// Pascal unit
#include <Iwbasehtmlinterfaces.hpp>	// Pascal unit
#include <Iwbasehtmlcontrol.hpp>	// Pascal unit
#include <Iwgridcommon.hpp>	// Pascal unit
#include <Iwhtml40interfaces.hpp>	// Pascal unit
#include <Iwscriptevents.hpp>	// Pascal unit
#include <Iwtypes.hpp>	// Pascal unit
#include <Iwcontainerborderoptions.hpp>	// Pascal unit
#include <Iwapplication.hpp>	// Pascal unit
#include <Iwfont.hpp>	// Pascal unit
#include <Iwbasecontrol.hpp>	// Pascal unit
#include <Iwmarkuplanguagetag.hpp>	// Pascal unit
#include <Iwhtmlcontainer.hpp>	// Pascal unit
#include <Iwbaserendercontext.hpp>	// Pascal unit
#include <Iwstreams.hpp>	// Pascal unit
#include <Iwserver.hpp>	// Pascal unit

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

namespace Iwregion
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIWCustomRegion;
class PASCALIMPLEMENTATION TIWCustomRegion : public Iwhtmlcontainer::TIWHTMLContainer 
{
	typedef Iwhtmlcontainer::TIWHTMLContainer inherited;
	
private:
	Iwcontainerborderoptions::TIWContainerBorderOptions* FBorderOptions;
	Iwcontrol::TIWHTMLControlImplementation* FIWControlImplementation;
	Iwbasecontrol::TIWBaseControlImplementation* FIWBaseControlImplementation;
	bool FDoRefreshControl;
	Classes::TNotifyEvent FOnCreate;
	bool FUseFrame;
	Iwhtmltag::TIWHTMLTag* FRegionDIV;
	Iwapplication::TIWApplication* FWebApplication;
	void __fastcall SetBorderOptions(const Iwcontainerborderoptions::TIWContainerBorderOptions* Value);
	void __fastcall OnBorderChange(System::TObject* ASender);
	
protected:
	virtual void __fastcall Dispose(bool ADispose);
	virtual void __fastcall AdjustClientRect(Types::TRect &Rect);
	virtual Types::TRect __fastcall GetClientRect();
	virtual Iwbasecontrol::TIWPaintHandler* __fastcall InitPaintHandler(void);
	virtual void __fastcall Loaded(void);
	virtual Iwbaserendercontext::TIWContainerContext* __fastcall InitContainerContext(Iwapplication::TIWApplication* AWebApplication);
	int __fastcall get_HTMLLeft(void);
	int __fastcall get_HTMLTop(void);
	virtual AnsiString __fastcall RenderCSSClass(Iwrendercontext::TIWBaseHTMLComponentContext* AComponentContext);
	virtual AnsiString __fastcall RenderStyle(Iwrendercontext::TIWBaseHTMLComponentContext* AComponentContext);
	virtual void __fastcall RenderScripts(Iwrendercontext::TIWBaseHTMLComponentContext* AComponentContext);
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	bool __fastcall WantsSubmitValidation(void);
	void __fastcall set_WebFont(Iwfont::TIWFont* AValue);
	Iwfont::TIWFont* __fastcall get_WebFont(void);
	virtual Graphics::TCanvas* __fastcall get_Canvas(void);
	Iwbaseinterfaces::_di_IIWBaseContainer __fastcall ParentContainer();
	HIDESBASE void __fastcall PaintTo(Graphics::TCanvas* ACanvas);
	bool __fastcall SupportsSubmit(void);
	bool __fastcall SupportsInput(void);
	void __fastcall AddFreeNotifier(System::TObject* AObject);
	void __fastcall RemoveFreeNotifier(System::TObject* AObject);
	virtual TMetaClass* __fastcall ComponentContextClass(void);
	void __fastcall MakeHTMLTag(Iwhtmltag::TIWHTMLTag* ATag, Iwstreams::TIWRenderStream* ABuffer)/* overload */;
	AnsiString __fastcall MakeHTMLTag(Iwhtmltag::TIWHTMLTag* ATag)/* overload */;
	void __fastcall DoHTMLTag(Iwhtmltag::TIWHTMLTag* ATag);
	void __fastcall DoCreate(void);
	virtual void __fastcall InitDesignTime(void);
	virtual void __fastcall InitControl(void);
	virtual void __fastcall SetName(const AnsiString AValue);
	virtual void __fastcall RenderComponents(Iwbaserendercontext::TIWContainerContext* AContainerContext, Iwbaserendercontext::TIWBasePageContext* APageContext);
	virtual bool __fastcall NeedsFormTag(void);
	bool __fastcall get_RenderSize(void);
	void __fastcall set_RenderSize(bool AValue);
	Iwscriptevents::TIWScriptEvents* __fastcall get_ScriptEvents(void);
	void __fastcall set_ScriptEvents(Iwscriptevents::TIWScriptEvents* Value);
	bool __fastcall get_Clip(void);
	void __fastcall set_Clip(bool AValue);
	AnsiString __fastcall HintEvents(Iwhtmltag::TIWHTMLTag* ATag);
	virtual void __fastcall HookEvents(Iwrendercontext::TIWPageContext40* APageContext, Iwscriptevents::TIWScriptEvents* AScriptEvents);
	void __fastcall SetActiveControl(Iwhtml40interfaces::_di_IIWHTML40Control AControl);
	AnsiString __fastcall GenerateControlPositions();
	virtual bool __fastcall CheckComponentForRender(Classes::TComponent* AComponent);
	virtual Iwmarkuplanguagetag::TIWMarkupLanguageTag* __fastcall DoPostRenderProcessing(Iwmarkuplanguagetag::TIWMarkupLanguageTag* ATag, Iwbaserendercontext::TIWBaseComponentContext* AComponentContext, Classes::TComponent* AComponent);
	virtual bool __fastcall CheckUpdateTree(Classes::TComponent* AComponent);
	AnsiString __fastcall get_ComponentName();
	bool __fastcall get_SupportsPartial(void);
	void __fastcall set_SupportsPartial(bool AValue);
	virtual Controls::TTabOrder __fastcall getTabOrder(void);
	virtual void __fastcall setTabOrder(Controls::TTabOrder AValue);
	__property bool SupportsPartial = {read=get_SupportsPartial, write=set_SupportsPartial, nodefault};
	__property Iwcontrol::TIWHTMLControlImplementation* ControlImplementation = {read=FIWControlImplementation};
	Iwtypes::TIWCursor __fastcall get_WebCursor(void);
	void __fastcall set_WebCursor(Iwtypes::TIWCursor AValue);
	Classes::TStringList* __fastcall get_ExtraTagParams(void);
	void __fastcall set_ExtraTagParams(const Classes::TStringList* Value);
	Iwbasehtmlinterfaces::TIWOnHTMLTag __fastcall get_OnHTMLTag();
	void __fastcall set_OnHTMLTag(Iwbasehtmlinterfaces::TIWOnHTMLTag AValue);
	void __fastcall set_LayoutMgr(Iwcontainerlayout::TIWContainerLayout* Value);
	Iwcontainerlayout::TIWContainerLayout* __fastcall get_LayoutMgr(void);
	int __fastcall get_ZIndex(void);
	void __fastcall set_ZIndex(int AValue);
	virtual void __fastcall set_WebColor(Iwcolor::TIWColor Value);
	virtual Iwcolor::TIWColor __fastcall get_WebColor(void);
	__property Align  = {default=0};
	__property Anchors  = {default=3};
	__property Color ;
	__property ParentShowHint  = {default=1};
	__property ShowHint ;
	__property Hint ;
	__property Iwtypes::TIWCursor Cursor = {read=get_WebCursor, write=set_WebCursor, nodefault};
	__property bool ClipRegion = {read=get_Clip, write=set_Clip, default=1};
	__property Iwcontainerlayout::TIWContainerLayout* LayoutMgr = {read=get_LayoutMgr, write=set_LayoutMgr};
	__property Classes::TStringList* ExtraTagParams = {read=get_ExtraTagParams, write=set_ExtraTagParams};
	__property int ZIndex = {read=get_ZIndex, write=set_ZIndex, nodefault};
	__property Iwbasehtmlinterfaces::TIWOnHTMLTag OnHTMLTag = {read=get_OnHTMLTag, write=set_OnHTMLTag};
	__property Classes::TNotifyEvent OnCreate = {read=FOnCreate, write=FOnCreate};
	
public:
	virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
	virtual void __fastcall Invalidate(void);
	bool __fastcall get_DoRefreshControl(void);
	void __fastcall set_DoRefreshControl(bool AValue);
	AnsiString __fastcall get_HTMLName();
	bool __fastcall get_UseFrame(void);
	void __fastcall set_UseFrame(bool AValue);
	int __fastcall get_HTMLWidth(void);
	int __fastcall get_HTMLHeight(void);
	__property Iwcontainerborderoptions::TIWContainerBorderOptions* BorderOptions = {read=FBorderOptions, write=SetBorderOptions};
	__property bool DoRefreshControl = {read=get_DoRefreshControl, write=set_DoRefreshControl, nodefault};
	__property AnsiString HTMLName = {read=get_HTMLName};
	__property int HTMLWidth = {read=get_HTMLWidth, nodefault};
	__property int HTMLHeight = {read=get_HTMLHeight, nodefault};
	__property bool UseFrame = {read=get_UseFrame, write=set_UseFrame, nodefault};
	__property WebColor ;
	
__published:
	virtual bool __fastcall get_Visible(void);
	virtual void __fastcall set_Visible(bool Value);
	__property Visible  = {default=1};
	__property TabOrder  = {default=-1};
public:
	#pragma option push -w-inl
	/* TIWBaseContainer.Create */ inline __fastcall virtual TIWCustomRegion(Classes::TComponent* AOwner) : Iwhtmlcontainer::TIWHTMLContainer(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWBaseContainer.Destroy */ inline __fastcall virtual ~TIWCustomRegion(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TIWCustomRegion(HWND ParentWindow) : Iwhtmlcontainer::TIWHTMLContainer(ParentWindow) { }
	#pragma option pop
	
private:
	void *__IIWHTML40Container;	/* Iwhtml40interfaces::IIWHTML40Container */
	void *__IIWBaseControl;	/* Iwbaseinterfaces::IIWBaseControl */
	void *__IIWHTML40Control;	/* Iwhtml40interfaces::IIWHTML40Control */
	void *__IIWHTML40Component;	/* Iwhtml40interfaces::IIWHTML40Component */
	
public:
	operator IIWHTML40Component*(void) { return (IIWHTML40Component*)&__IIWHTML40Component; }
	operator IIWHTML40Control*(void) { return (IIWHTML40Control*)&__IIWHTML40Control; }
	operator IIWBaseHTMLControl*(void) { return (IIWBaseHTMLControl*)&__IIWHTML40Control; }
	operator IIWBaseControl*(void) { return (IIWBaseControl*)&__IIWBaseControl; }
	operator IIWBaseHTMLComponent*(void) { return (IIWBaseHTMLComponent*)&__IIWHTML40Control; }
	operator IIWBaseComponent*(void) { return (IIWBaseComponent*)&__IIWHTML40Control; }
	operator IIWHTML40Container*(void) { return (IIWHTML40Container*)&__IIWHTML40Container; }
	
};


class DELPHICLASS TIWRegion;
class PASCALIMPLEMENTATION TIWRegion : public TIWCustomRegion 
{
	typedef TIWCustomRegion inherited;
	
protected:
	bool FSplitter;
	virtual Iwhtmltag::TIWHTMLTag* __fastcall RenderHTML(Iwrendercontext::TIWBaseHTMLComponentContext* AContext);
	virtual void __fastcall HookEvents(Iwrendercontext::TIWPageContext40* APageContext, Iwscriptevents::TIWScriptEvents* AScriptEvents);
	virtual void __fastcall InitControl(void);
	virtual Iwmarkuplanguagetag::TIWMarkupLanguageTag* __fastcall RenderMarkupLanguageTag(Iwbaserendercontext::TIWBaseComponentContext* AContext);
	virtual AnsiString __fastcall ContainerPrefix();
	void __fastcall SetValue(const AnsiString AValue);
	void __fastcall SetFileValue(Iwfileparser::THTTPFile* AFile);
	Iwtypes::TIWControlEncode __fastcall get_ControlEncode(void);
	void __fastcall set_ControlEncode(Iwtypes::TIWControlEncode AValue);
	bool __fastcall get_NonEditableAsLabel(void);
	void __fastcall set_NonEditableAsLabel(bool AValue);
	bool __fastcall get_Editable(void);
	void __fastcall set_Editable(bool aValue);
	void __fastcall GetInputControlNames(Classes::TStringList* ANames);
	bool __fastcall IsForThisControl(AnsiString AName);
	
__published:
	__property Align  = {default=0};
	__property Anchors  = {default=3};
	__property BorderOptions ;
	__property TabOrder  = {default=-1};
	__property Color ;
	__property ParentShowHint  = {default=1};
	__property ShowHint ;
	__property Hint ;
	__property Cursor ;
	__property ClipRegion  = {default=1};
	__property LayoutMgr ;
	__property ExtraTagParams ;
	__property ZIndex ;
	__property OnHTMLTag ;
	__property OnCreate ;
	__property bool Splitter = {read=FSplitter, write=FSplitter, nodefault};
public:
	#pragma option push -w-inl
	/* TIWBaseContainer.Create */ inline __fastcall virtual TIWRegion(Classes::TComponent* AOwner) : TIWCustomRegion(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TIWBaseContainer.Destroy */ inline __fastcall virtual ~TIWRegion(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TIWRegion(HWND ParentWindow) : TIWCustomRegion(ParentWindow) { }
	#pragma option pop
	
private:
	void *__IIWInputControl;	/* Iwbaseinterfaces::IIWInputControl */
	
public:
	operator IIWInputControl*(void) { return (IIWInputControl*)&__IIWInputControl; }
	
};


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

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

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