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

// (DO NOT EDIT: machine generated header) 'ahmttiptrickdlg.pas' rev: 6.00

#ifndef ahmttiptrickdlgHPP
#define ahmttiptrickdlgHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ExtCtrls.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <ahmdialogconst.hpp>	// Pascal unit
#include <ahmdialogclass.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmttiptrickdlg
{
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TAHMOnNewTip)(System::TObject* Sender, int TipNo);

class DELPHICLASS TAHMCheckBoxInfo;
class PASCALIMPLEMENTATION TAHMCheckBoxInfo : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	bool fvisible;
	bool fenabled;
	bool fchecked;
	AnsiString fcaption;
	
public:
	__fastcall TAHMCheckBoxInfo(void);
	__fastcall virtual ~TAHMCheckBoxInfo(void);
	
__published:
	__property bool Visible = {read=fvisible, write=fvisible, default=1};
	__property bool Enabled = {read=fenabled, write=fenabled, default=1};
	__property bool Checked = {read=fchecked, write=fchecked, default=1};
	__property AnsiString Caption = {read=fcaption, write=fcaption};
};


class DELPHICLASS TAHMTipTricks;
class PASCALIMPLEMENTATION TAHMTipTricks : public Ahmdialogclass::TAHMDialogComponent 
{
	typedef Ahmdialogclass::TAHMDialogComponent inherited;
	
private:
	TAHMCheckBoxInfo* FSetupCheckbox;
	Graphics::TColor fColor;
	Classes::TAlignment fAlignment;
	Ahmdialogclass::TAHMButtonDetails* FCustomButton1;
	Ahmdialogclass::TAHMButtonDetails* FCustomButton2;
	Ahmdialogclass::TAHMButtonDetails* FOkButton;
	Ahmdialogclass::TAHMButtonDetails* FNextButton;
	Classes::TStrings* fTips;
	Classes::TNotifyEvent FOnCheck;
	Classes::TNotifyEvent FOnCustom1;
	Classes::TNotifyEvent FOnCustom2;
	Classes::TNotifyEvent FOnOk;
	Classes::TNotifyEvent FOnNExt;
	AnsiString FDidyouKnow;
	Graphics::TFont* FFont;
	AnsiString fcaps;
	Graphics::TBitmap* FTipGlyph;
	int FCurrentTip;
	TAHMOnNewTip FOnNewTip;
	void __fastcall SetFont(Graphics::TFont* Value);
	void __fastcall SetAlignment(Classes::TAlignment Value);
	void __fastcall setTips(Classes::TStrings* value);
	void __fastcall SetColor(Graphics::TColor Value);
	void __fastcall SetTipGlyph(const Graphics::TBitmap* Value);
	void __fastcall Custom1Change(System::TObject* Sender);
	void __fastcall Custom2Change(System::TObject* Sender);
	void __fastcall OkChange(System::TObject* Sender);
	void __fastcall NextChange(System::TObject* Sender);
	
public:
	__fastcall virtual TAHMTipTricks(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMTipTricks(void);
	virtual bool __fastcall Execute(void);
	bool __fastcall CloseTips(void);
	__property int CurrentTip = {read=FCurrentTip, nodefault};
	bool __fastcall NextTip(void);
	
__published:
	__property TAHMCheckBoxInfo* SetupCheckbox = {read=FSetupCheckbox, write=FSetupCheckbox};
	__property Ahmdialogclass::TAHMButtonDetails* Custom1BitBtn = {read=FCustomButton1, write=FCustomButton1};
	__property Ahmdialogclass::TAHMButtonDetails* Custom2BitBtn = {read=FCustomButton2, write=FCustomButton2};
	__property Graphics::TBitmap* TipGlyph = {read=FTipGlyph, write=SetTipGlyph};
	__property Classes::TAlignment TipAlign = {read=fAlignment, write=SetAlignment, default=2};
	__property Graphics::TColor Color = {read=fColor, write=SetColor, default=16777215};
	__property Ahmdialogclass::TAHMButtonDetails* OkBitBtn = {read=FOkButton, write=FOkButton};
	__property Ahmdialogclass::TAHMButtonDetails* NextTipBitBtn = {read=FNextButton, write=FNextButton};
	__property Classes::TStrings* Tips = {read=fTips, write=setTips};
	__property Classes::TNotifyEvent OnCustom1 = {read=FOnCustom1, write=FOnCustom1};
	__property Classes::TNotifyEvent OnCustom2 = {read=FOnCustom2, write=FOnCustom2};
	__property Classes::TNotifyEvent OnOk = {read=FOnOk, write=FOnOk};
	__property TAHMOnNewTip OnNewTip = {read=FOnNewTip, write=FOnNewTip};
	__property Classes::TNotifyEvent OnNext = {read=FOnNExt, write=FOnNExt};
	__property Classes::TNotifyEvent OnCheckClick = {read=FOnCheck, write=FOnCheck};
	__property AnsiString TipDlgCaption = {read=fcaps, write=fcaps};
	__property AnsiString DidYouKnow = {read=FDidyouKnow, write=FDidyouKnow};
	__property Graphics::TFont* Fonts = {read=FFont, write=SetFont};
};


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

}	/* namespace Ahmttiptrickdlg */
using namespace Ahmttiptrickdlg;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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