SmsCenter/CalendarThread.h

68 lines
1.7 KiB
C
Raw Normal View History

2025-01-03 16:47:25 +08:00
#if !defined(AFX_CALENDALTHREAD_H__B34E5D07_B65A_416C_8A17_E0F802C319E4__INCLUDED_)
#define AFX_CALENDALTHREAD_H__B34E5D07_B65A_416C_8A17_E0F802C319E4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CalendalThread.h : header file
//
#include "SendThread.h"
/////////////////////////////////////////////////////////////////////////////
// CCalendalThread thread
#define TH_CALENDAR WM_USER + 420 //<2F><><EFBFBD>Ͷ<EFBFBD><CDB6><EFBFBD>Ϣ
class CCalendarThread : public CWinThread
{
public:
BOOL m_bStart; //<2F><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7>ڷ<EFBFBD><DAB7>Ͷ<EFBFBD><CDB6><EFBFBD><EFBFBD><EFBFBD>
CAdoConnection m_adoConnection;
CAdoRecordSet m_AdoRS;
CAdoRecordSet m_AdoRS1;
CAdoRecordSet m_AdoRS2;
CSmsCenterDlg * m_pSMSDlg;
DECLARE_DYNCREATE(CCalendarThread)
//protected:
public:
CCalendarThread(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
BOOL SetParam(CSmsCenterDlg *pSmsDlg);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalendalThread)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//protected:
public:
virtual ~CCalendarThread();
// Generated message map functions
//{{AFX_MSG(CCalendalThread)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
afx_msg void On_Calendar(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CALENDALTHREAD_H__B34E5D07_B65A_416C_8A17_E0F802C319E4__INCLUDED_)