CorpSms/DLG_RecvSms.h

70 lines
1.9 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#if !defined(AFX_DLG_RECVSMS_H__58313A4D_B19C_4C4B_8B2B_BB46240316EA__INCLUDED_)
#define AFX_DLG_RECVSMS_H__58313A4D_B19C_4C4B_8B2B_BB46240316EA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_RecvSms.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DLG_RecvSms dialog
typedef struct _SMS_Recv2 //收到信息的通知结构
{
long lMsgType; //短信类型MSGTYPE_SMS 或 MSGTYPE_REPORT
BOOL bSim; //是否SIM卡中的短信
TCHAR szSmsc[32]; //短信中心
TCHAR szSender[32]; //发送者号码如果lMsgType==MSGTYPE_REPORT,则是状态报告的目标手机号码
TCHAR szTime[32]; //发送时间
TCHAR szMsg[512]; //信息内容
}SMS_Recv2;
class DLG_RecvSms : public CDialog
{
public:
int xScrn, yScrn; // 屏幕分辨率
int xBmp , yBmp; // 屏幕分辨率
SMS_Recv2 m_Sms;
long m_lRecv;
long m_lCount;
TCHAR m_szTitle[256];
// Construction
public:
void SetPara( SMS_Recv2 * pSms,const TCHAR * pTitle=NULL );
DLG_RecvSms(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(DLG_RecvSms)
enum { IDD = IDD_RECVSMS };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DLG_RecvSms)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DLG_RecvSms)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnClose();
afx_msg void OnTimer(UINT_PTR nIDEvent);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_RECVSMS_H__58313A4D_B19C_4C4B_8B2B_BB46240316EA__INCLUDED_)