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

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

#ifndef AHMTFormDividerHPP
#define AHMTFormDividerHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Controls.hpp>	// Pascal unit
#include <AHMStdClass.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtformdivider
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TAHMDivBorder { bdrSunken, bdrRaised, bdrEtched, frmSunken, frmRaised, frmEtched };
#pragma option pop

class DELPHICLASS TAHMFormDivider;
class PASCALIMPLEMENTATION TAHMFormDivider : public Stdctrls::TCustomLabel 
{
	typedef Stdctrls::TCustomLabel inherited;
	
private:
	Ahmstdclass::TAHMAboutSControlStr FAboutStr;
	HWND AppHandle;
	HWND MyOwnerhandle;
	Controls::TWinControl* MyOwner;
	bool FAlignWidth;
	int FSideSpace;
	TAHMDivBorder FBorderStyle;
	void __fastcall SetSideSpace(int Value);
	void __fastcall SetAlignWidth(bool Value);
	void __fastcall SetBorderStyle(TAHMDivBorder Value);
	
protected:
	void *OldWndProc;
	void *NewWndProc;
	virtual void __fastcall Loaded(void);
	void __fastcall HookWin(void);
	void __fastcall UnhookWin(void);
	
public:
	virtual void __fastcall Hooked(Messages::TMessage &AMsg);
	__fastcall virtual ~TAHMFormDivider(void);
	__fastcall virtual TAHMFormDivider(Classes::TComponent* AOwner);
	virtual void __fastcall Paint(void);
	
__published:
	__property Ahmstdclass::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
	__property bool AlignWidth = {read=FAlignWidth, write=SetAlignWidth, nodefault};
	__property TAHMDivBorder BorderStyle = {read=FBorderStyle, write=SetBorderStyle, default=2};
	__property int SideSpace = {read=FSideSpace, write=SetSideSpace, default=20};
	__property Width ;
	__property Height ;
	__property Font ;
	__property Caption ;
};


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

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

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