gps/GPSProject/GPSMain/SysInfoMsgDlg.h

59 lines
1.5 KiB
C++
Executable File

#if !defined(AFX_SYSINFOMSGDLG_H__1ED5EB2E_0618_4929_AE43_7E7EAFC4DB7C__INCLUDED_)
#define AFX_SYSINFOMSGDLG_H__1ED5EB2E_0618_4929_AE43_7E7EAFC4DB7C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SysInfoMsgDlg.h : header file
//
#include "BmpTxtButton.h"
/////////////////////////////////////////////////////////////////////////////
// CSysInfoMsgDlg dialog
class CSysInfoMsgDlg : public CDialog
{
private:
CDC m_BgDC;
CFont m_txtFont;
CString m_txtMsg;
// Construction
public:
void SetMsg(CString strMsg);
CSysInfoMsgDlg(CWnd* pParent = NULL); // standard constructor
~CSysInfoMsgDlg();
// Dialog Data
//{{AFX_DATA(CSysInfoMsgDlg)
enum { IDD = IDD_DIALOG_MSG };
CBmpTxtButton m_butOK;
CBmpTxtButton m_butCancel;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSysInfoMsgDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSysInfoMsgDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnButtonMsgCancel();
afx_msg void OnButtonMsgOk();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SYSINFOMSGDLG_H__1ED5EB2E_0618_4929_AE43_7E7EAFC4DB7C__INCLUDED_)