SmsCenter/CalendalThread.h

65 lines
1.6 KiB
C
Raw Normal View History

2025-01-03 16:47:25 +08:00
#if !defined(AFX_CalendarThread_H__B34E5D07_B65A_416C_8A17_E0F802C319E4__INCLUDED_)
#define AFX_CalendarThread_H__B34E5D07_B65A_416C_8A17_E0F802C319E4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CalendarThread.h : header file
//
#include "SendThread.h"
/////////////////////////////////////////////////////////////////////////////
// CCalendarThread 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;
CSmsCenterDlg * m_pSMSDlg;
DECLARE_DYNCREATE(CCalendarThread)
protected:
CCalendarThread(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
BOOL SetParam(CSmsCenterDlg *pSmsDlg);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalendarThread)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CCalendarThread();
// Generated message map functions
//{{AFX_MSG(CCalendarThread)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
afx_msg LRESULT 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_CalendarThread_H__B34E5D07_B65A_416C_8A17_E0F802C319E4__INCLUDED_)