// CodeGear C++Builder
// Copyright (c) 1995, 2010 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'PrnProgressForm.pas' rev: 22.00

#ifndef PrnprogressformHPP
#define PrnprogressformHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <AnyPrint.hpp>	// Pascal unit

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

namespace Prnprogressform
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfrmPrnProgress;
class PASCALIMPLEMENTATION TfrmPrnProgress : public Forms::TForm
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TButton* btnCancel;
	Stdctrls::TLabel* lblProgress;
	Stdctrls::TLabel* Label2;
	void __fastcall btnCancelClick(System::TObject* Sender);
	void __fastcall FormShow(System::TObject* Sender);
	void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
	void __fastcall FormCreate(System::TObject* Sender);
	
private:
	Classes::TNotifyEvent FOnBeforeModal;
	int FPosition;
	Anyprint::TAnyPrint* FPrint;
	Anyprint::TAnyCompositePrint* FCompositePrint;
	int FPageCount;
	MESSAGE void __fastcall CMBeforeModal(Messages::TMessage &Message);
	HIDESBASE void __fastcall SetPosition(const int Value);
	
protected:
	virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
	
public:
	__fastcall virtual TfrmPrnProgress(Classes::TComponent* AOwner);
	__property Classes::TNotifyEvent OnBeforeModal = {read=FOnBeforeModal, write=FOnBeforeModal};
	__property int Position = {read=FPosition, write=SetPosition, nodefault};
	System::Word __fastcall Show_Modal(Anyprint::TAnyPrint* Print, Anyprint::TAnyCompositePrint* CompositePrint, int PageCount);
public:
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmPrnProgress(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmPrnProgress(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmPrnProgress(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
static const System::Word CM_BeforeModal = 0x401;
extern PACKAGE TfrmPrnProgress* frmPrnProgress;

}	/* namespace Prnprogressform */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE)
using namespace Prnprogressform;
#endif
#pragma pack(pop)
#pragma option pop

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