⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gsmsmsdlg.h

📁 一个可以实现与SCADA系统实现数据访问,并且通过手机短消息的方式发送到指定手机用户的实现.
💻 H
字号:
// GsmSmsDlg.h : header file
//

#if !defined(AFX_GSMSMSDLG_H__3AECD84B_B157_43C6_87B2_2A5345F3E9E7__INCLUDED_)
#define AFX_GSMSMSDLG_H__3AECD84B_B157_43C6_87B2_2A5345F3E9E7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CGsmSmsDlg dialog
#include "Afxtempl.h"
#include "solnotiicon.h"

class CGsmSmsDlg : public CDialog
{
	void GetFjPath();
	WORD BaseNum;
    UINT TimeID_1;
    CBitmap m_work;
	CBitmap m_idle;
	int WorkW,WorkH;
    int IdleW,IdleH;

// Construction
public:
	CGsmSmsDlg(CWnd* pParent = NULL);	// standard constructor
    BOOL InitPort(int com,DWORD bate);
    void LoadPersonMessage();
    void InitAllMap();
	void InitList();
    BOOL RepaintList();
    void ClrList();

	CTrayNotifyIcon m_classTrayNotifyIcon;

private:
    BOOL PutMsg(FJS_MSG_STRUCT & Msg);


// Dialog Data
	//{{AFX_DATA(CGsmSmsDlg)
	enum { IDD = IDD_GSMSMS_DIALOG };
	CListCtrl	m_list_sms;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGsmSmsDlg)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CGsmSmsDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSetCom();
	afx_msg void OnTelNum();
	virtual void OnCancel();
	afx_msg void OnBTest();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnBHis();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg LRESULT OnTrayNotify ( WPARAM, LPARAM );
	afx_msg void OnShowmain();
	afx_msg void OnExit();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	//}}AFX_MSG
    LRESULT FromRlibGetMsg(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_GSMSMSDLG_H__3AECD84B_B157_43C6_87B2_2A5345F3E9E7__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -