www.pudn.com > HPMapx.rar > GISSymble.h
// GISSymble.h
#ifndef _GISSYMBLE_H__
#define _GISSYMBLE_H__
#if _MSC_VER > 1000
#pragma once
#endif
class CGISSymble : public CButton
{
public:
CGISSymble();
protected:
CBitmap m_Bitmap;
UINT m_nWidth;
UINT m_nHeight;
BOOL bIsCreated;
public:
//{{AFX_VIRTUAL(CGISSymble)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
//}}AFX_VIRTUAL
virtual BOOL LoadBitmap(UINT id);
virtual BOOL IsCreated() {return bIsCreated;}
virtual BOOL Create(CPoint point, CWnd *pParentWnd, UINT mapid);
public:
virtual ~CGISSymble();
void DrawBitmaps(CDC * pDC);
protected:
//{{AFX_MSG(CGISSymble)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif