www.pudn.com > HPMapx.rar > HPMessageBox.h
// HPMessageBox.h
#ifndef _HPMESSAGEBOX_H__
#define _HPMESSAGEBOX_H__
#pragma once
const int TOP_START = 270;
const int BOT_START = 238;
const int NDELAY = 10;
#include "GISSymble.h"
class CHPMessageBox : public CGISSymble
{
public:
CHPMessageBox();
void SetMessage(LPCTSTR str){m_MessageBody =str;}
private:
BOOL bCurrentIsShow;
CString m_MessageBody,m_MessageHead;
//{{AFX_VIRTUAL(CHPMessageBox)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
//}}AFX_VIRTUAL
// Implementation
public:
void HideWindowEx();
void ShowWindowEx();
virtual ~CHPMessageBox();
protected:
//{{AFX_MSG(CHPMessageBox)
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif