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

#ifndef FrmSysLogFH
#define FrmSysLogFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
#include "ITSLogF.h"
#include "AppGlobalF.h"
//---------------------------------------------------------------------------
class TFrmSysLog : public TForm
{
__published:	// IDE-managed Components
    TPanel *plServerInfo;
    TPanel *Panel1;
    TImage *Image1;
    TPanel *Panel2;
    TCheckBox *chkLogPause;
    TButton *btnClear;
    TButton *btnCopy;
    TMemo *reMsg;
    TListBox *lbLog;
    void __fastcall btnClearClick(TObject *Sender);
    void __fastcall btnCopyClick(TObject *Sender);

private:	// User declarations
public:

public:		// User declarations
    __fastcall TFrmSysLog(TComponent* Owner);

    void LogWrite(IPC_LOG_MESSAGE *ALog);

	void __fastcall OnWMLogDisplayMessage(TMessage &Msg);

	BEGIN_MESSAGE_MAP
		MESSAGE_HANDLER(WM_LOG_DISPLAY, TMessage, OnWMLogDisplayMessage)
	END_MESSAGE_MAP(TForm)
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmSysLog *FrmSysLog;
//---------------------------------------------------------------------------
#endif
