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

// (DO NOT EDIT: machine generated header) 'AmnMessageBx.pas' rev: 3.00

#ifndef AmnMessageBxHPP
#define AmnMessageBxHPP
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Options.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Amnmessagebx
{
//-- type declarations -------------------------------------------------------
enum TDefButton { aMB_DEFBUTTON1, aMB_DEFBUTTON2, aMB_DEFBUTTON3, aMB_DEFBUTTON4 };

enum TDialogIcon { aMB_ICONASTERISK, aMB_ICONEXCLAMATION, aMB_ICONHAND, aMB_ICONINFORMATION, aMB_ICONQUESTION, 
	aMB_ICONSTOP, aMB_ICONNONE };

enum TDialogType { aMB_TASKMODAL, aMB_SYSTEMMODAL, aMB_APPLMODAL };

enum TDialogButtons { aMB_ABORTRETRYIGNORE, aMB_YESNOCANCEL, aMB_YESNO, aMB_OKCANCEL, aMB_OK, aMB_RETRYCANCEL 
	};

class DELPHICLASS TAmnMessageBx;
class PASCALIMPLEMENTATION TAmnMessageBx : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	TDialogButtons fButtns;
	TDefButton fDlgDefBut;
	TDialogIcon fDlgIc;
	TDialogType fDlgTyp;
	Classes::TStrings* fStrings;
	bool fHelp;
	System::AnsiString fCap;
	Classes::TStrings* __fastcall GetStrings(void);
	void __fastcall SetStrings(Classes::TStrings* Val);
	System::AnsiString __fastcall GetVersion(void);
	void __fastcall SetVersion(const System::AnsiString Val);
	
public:
	__fastcall virtual TAmnMessageBx(Classes::TComponent* aOwner);
	__fastcall virtual ~TAmnMessageBx(void);
	Forms::TModalResult __fastcall Execute(void);
	
__published:
	__property Classes::TStrings* Text = {read=GetStrings, write=SetStrings};
	__property System::AnsiString Caption = {read=fCap, write=fCap};
	__property TDefButton DefaultButton = {read=fDlgDefBut, write=fDlgDefBut, nodefault};
	__property TDialogIcon DialogIcon = {read=fDlgIc, write=fDlgIc, nodefault};
	__property TDialogType DialogType = {read=fDlgTyp, write=fDlgTyp, nodefault};
	__property bool HelpButton = {read=fHelp, write=fHelp, nodefault};
	__property TDialogButtons DialogButtons = {read=fButtns, write=fButtns, nodefault};
	__property System::AnsiString Version = {read=GetVersion, write=SetVersion};
};

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

}	/* namespace Amnmessagebx */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Amnmessagebx;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AmnMessageBx
