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

// (DO NOT EDIT: machine generated header) 'asgprev.pas' rev: 4.00

#ifndef asgprevHPP
#define asgprevHPP

#pragma delphiheader begin
#pragma option push -w-
#include <AdvGrid.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.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 Asgprev
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAdvPreviewForm;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAdvPreviewForm : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Extctrls::TPanel* Panel1;
	Extctrls::TPanel* Panel2;
	Stdctrls::TButton* Next;
	Stdctrls::TButton* Previous;
	Stdctrls::TButton* Button3;
	Stdctrls::TButton* Button4;
	Extctrls::TPaintBox* PreviewPaintBox;
	void __fastcall FormResize(System::TObject* Sender);
	void __fastcall PreviewPaintBoxPaint(System::TObject* Sender);
	void __fastcall Button3Click(System::TObject* Sender);
	void __fastcall Button4Click(System::TObject* Sender);
	void __fastcall PreviousClick(System::TObject* Sender);
	void __fastcall NextClick(System::TObject* Sender);
	
private:
	MESSAGE void __fastcall WMMinMaxInfo(Messages::TMessage &Msg);
	
public:
	Advgrid::TAdvStringGrid* Grid;
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TAdvPreviewForm(Classes::TComponent* AOwner) : Forms::TForm(
		AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TAdvPreviewForm(Classes::TComponent* AOwner, 
		int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TAdvPreviewForm(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAdvPreviewForm(HWND ParentWindow) : Forms::TForm(
		ParentWindow) { }
	#pragma option pop
	
};

#pragma pack(pop)

class DELPHICLASS TAdvPreviewDialog;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAdvPreviewDialog : public Dialogs::TCommonDialog 
{
	typedef Dialogs::TCommonDialog inherited;
	
private:
	int FPreviewWidth;
	int FPreviewHeight;
	int FPreviewTop;
	int FPreviewLeft;
	bool FPreviewCenter;
	bool FPreviewFast;
	TAdvPreviewForm* FForm;
	Advgrid::TAdvStringGrid* FGrid;
	void __fastcall SetPreviewWidth(int value);
	void __fastcall SetPreviewHeight(int value);
	
protected:
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation AOperation
		);
	
public:
	__fastcall virtual TAdvPreviewDialog(Classes::TComponent* aOwner);
	virtual bool __fastcall Execute(void);
	__property TAdvPreviewForm* Form = {read=FForm};
	
__published:
	__property Advgrid::TAdvStringGrid* Grid = {read=FGrid, write=FGrid};
	__property bool PreviewFast = {read=FPreviewFast, write=FPreviewFast, nodefault};
	__property int PreviewWidth = {read=FPreviewWidth, write=SetPreviewWidth, nodefault};
	__property int PreviewHeight = {read=FPreviewHeight, write=SetPreviewHeight, nodefault};
	__property int PreviewLeft = {read=FPreviewLeft, write=FPreviewLeft, nodefault};
	__property int PreviewTop = {read=FPreviewTop, write=FPreviewTop, nodefault};
	__property bool PreviewCenter = {read=FPreviewCenter, write=FPreviewCenter, nodefault};
public:
	#pragma option push -w-inl
	/* TCommonDialog.Destroy */ inline __fastcall virtual ~TAdvPreviewDialog(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TAdvPreviewForm* AdvPreviewForm;

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

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