//---------------------------------------------------------------------------

#ifndef StyleSpecsFormUnitH
#define StyleSpecsFormUnitH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Imaging.pngimage.hpp>
#include <Vcl.Imaging.jpeg.hpp>
#include <Vcl.Graphics.hpp>
#include "GeneralDialogPanel.h"
#include "TextButton.h"
//---------------------------------------------------------------------------

#define MAX_LABEL	8

class TStyleSpecsForm : public TForm
{
__published:	// IDE-managed Components
	TGeneralDialogPanel *m_panBK;
	TImage *m_iconError;
	TTextButton *m_btnOk;
	TLabel *m_lblSpecs1;
	TLabel *m_lblSpecs2;
	TLabel *m_lblSpecs3;
	TLabel *m_lblSpecs4;
	TLabel *m_lblSpecs5;
	TLabel *m_lblSpecs6;
	TLabel *m_lblSpecs8;
	TLabel *m_lblSpecs7;

	void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall FormCreate(TObject *Sender);

private:	// User declarations
	DWORD m_dwError;

	TLabel* m_aLabel[MAX_LABEL];
	void __fastcall WMNCHitTest(TWMNCHitTest &Msg);

	BEGIN_MESSAGE_MAP
		MESSAGE_HANDLER(WM_NCHITTEST, TWMNCHitTest, WMNCHitTest)
	END_MESSAGE_MAP(TForm)
public:		// User declarations
	__fastcall TStyleSpecsForm(TComponent* Owner, DWORD dwError);
	__fastcall ~TStyleSpecsForm();

};
//---------------------------------------------------------------------------
extern PACKAGE TStyleSpecsForm *StyleSpecsForm;
//---------------------------------------------------------------------------
#endif
