plmaindlg.h

来自「代码使用eVC4.0调试通过」· C头文件 代码 · 共 82 行

H
82
字号
// PlMainDlg.h : header file
//

#if !defined(AFX_PLMAINDLG_H__F9FCB71A_6815_4639_8255_E51163EFC87D__INCLUDED_)
#define AFX_PLMAINDLG_H__F9FCB71A_6815_4639_8255_E51163EFC87D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPlMainDlg dialog

class CPlMainDlg : public CDialog
{
	UINT m_horologe;//时钟变换

	tm *m_Today;
	int m_Local;//选定的报案位置
// Construction
public:
	CPlMainDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CPlMainDlg)
	enum { IDD = IDD_PLMAIN_DIALOG };
	CEdit	m_Notify;
	CListCtrl	m_lst;
	CButton	m_help;
	CButton	m_spot;
	CButton	m_setup;
	CButton	m_info;
	CButton	m_alarm;
	CString	m_scrinfo;
	CString	m_scrspot;
	CString	m_scrtime;
	CString	m_scrgps;
	CString	m_scrgsm;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPlMainDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	//HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPlMainDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnSpot();
	afx_msg void OnHelpqry();
	afx_msg void OnAlarm();
	afx_msg void OnInfo();
	afx_msg void OnSetup();
	afx_msg void OnClickLst(NMHDR* pNMHDR, LRESULT* pResult);
	virtual void OnCancel();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void FillNotifyData(int iLocal);
	BOOL ExcuteSpot(int vKey);
	void FillFinishSpot(void);
	void FillProcSpot(void);
	BOOL FillSpotData(int hCode,int iLocal);
	void FillNewSpot(void);
	BOOL LstReadDataHandle(void);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PLMAINDLG_H__F9FCB71A_6815_4639_8255_E51163EFC87D__INCLUDED_)

⌨️ 快捷键说明

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