// PrismII.h : main header file for the PRISMII application // #if !defined(AFX_PRISMII_H__FE83E67F_764A_4F2E_B520_89B71E199B9D__INCLUDED_) #define AFX_PRISMII_H__FE83E67F_764A_4F2E_B520_89B71E199B9D__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CPrismIIApp: // See PrismII.cpp for the implementation of this class // class CPrismIIApp : public CWinApp { public: CPrismIIApp(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPrismIIApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CPrismIIApp) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() HANDLE m_hMutexMultipleInstance; }; ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// // CMessageDlg dialog class CMessageDlg : public CDialog { // Construction public: CMessageDlg(CWnd* pParent = NULL); // standard constructor ~CMessageDlg(); char *m_pMessage; // Dialog Data //{{AFX_DATA(CMessageDlg) enum { IDD = IDD_DIALOG_MESSAGE }; CEdit m_EditMsg; CTabCtrl m_Tab; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMessageDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CMessageDlg) virtual BOOL OnInitDialog(); afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult); virtual void OnOK(); afx_msg void OnClose(); afx_msg void OnClear(); //}}AFX_MSG afx_msg LRESULT OnDelayedMessage(WPARAM index,LPARAM); DECLARE_MESSAGE_MAP() CRichEditCtrl m_Edit[10]; int m_iCurPage; DWORD m_dwThreadID ; char * m_lpMsg[10]; DWORD m_msgPointer[10]; int m_indexCount; public: int AddPage(LPCSTR Name); BOOL AddMessage(int index,LPCSTR string); BOOL Activate(BOOL bActivate,int index); }; extern CMessageDlg * g_pMsgDlg; struct LOGOPTION{ char logFolder[MAX_PATH]; BOOL logEnable; DWORD logLevel; // Info(2),Warning(1),Error(0) BOOL bMergedLog; }; extern LOGOPTION g_LogOption; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PRISMII_H__FE83E67F_764A_4F2E_B520_89B71E199B9D__INCLUDED_)