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

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

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

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

namespace Amnappbutton
{
//-- type declarations -------------------------------------------------------
enum cShow { amn_HIDE, amn_MAXIMIZE, amn_MINIMIZE, amn_RESTORE, amn_SHOW, amn_SHOWDEFAULT, amn_SHOWMAXIMIZED, 
	amn_SHOWMINIMIZED, amn_SHOWMINNOACTIVE, amn_SHOWNA, amn_SHOWNOACTIVATE, amn_SHOWNORMAL };

class DELPHICLASS TAMNAppButton;
class PASCALIMPLEMENTATION TAMNAppButton : public Stdctrls::TButton 
{
	typedef Stdctrls::TButton inherited;
	
private:
	System::AnsiString fAppName;
	System::AnsiString fAppPath;
	System::AnsiString fCommLine;
	cShow fWinState;
	System::AnsiString __fastcall GetVersion(void);
	void __fastcall SetVersion(const System::AnsiString Val);
	
public:
	__fastcall virtual TAMNAppButton(Classes::TComponent* aOwner);
	__fastcall virtual ~TAMNAppButton(void);
	DYNAMIC void __fastcall Click(void);
	
__published:
	__property System::AnsiString ApplicationName = {read=fAppName, write=fAppName};
	__property System::AnsiString ApplicationPath = {read=fAppPath, write=fAppPath};
	__property System::AnsiString CommandLine = {read=fCommLine, write=fCommLine};
	__property cShow WindowState = {read=fWinState, write=fWinState, nodefault};
	__property System::AnsiString Version = {read=GetVersion, write=SetVersion};
public:
	/* TWinControl.CreateParented */ __fastcall TAMNAppButton(HWND ParentWindow) : Stdctrls::TButton(ParentWindow
		) { }
	
};

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

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