#ifndef __AdminPageThreadWnd_h__
#define __AdminPageThreadWnd_h__
#if _MSC_VER > 1000
#pragma once
#endif class CAdminPageThreadWnd : public CWnd
{
public:
DECLARE_MESSAGE_MAP()
public:
CAdminPageThreadWnd();
BOOL Create();
BOOL Create(CString strShortcutPath);
public:
HRESULT PostAdminPageMsg(IAGCEvent* pEvent);
HRESULT PostAdminPageRun(IAGCEvent* pEvent);
protected:
HRESULT PostAdminPage(IAGCEvent* pEvent, UINT message);
CString GetDate();
CString GetSender();
CString GetMessage();
void TranslateEvent(WPARAM wParam);
bool VariantTimeToLocalTime(DATE date, SYSTEMTIME* psystime);
protected:
afx_msg LRESULT OnAdminPageMsg(WPARAM wParam, LPARAM);
afx_msg LRESULT OnAdminPageRun(WPARAM wParam, LPARAM);
protected:
enum
{
wm_AdminPageMsg = WM_APP,
wm_AdminPageRun,
};
protected:
IAGCEventPtr m_spEvent;
IPersistStreamPtr m_spEventPersist;
CString m_strShortcutPath;
};
#endif