www.pudn.com > gis_graphic_item_lib.rar > lmlView.h
// lmlView.h : interface of the CLmlView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_LMLVIEW_H__A8CF02AC_BC42_11D5_9E09_F2D45CE2536E__INCLUDED_)
#define AFX_LMLVIEW_H__A8CF02AC_BC42_11D5_9E09_F2D45CE2536E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CLmlView : public CView
{
protected: // create from serialization only
CLmlView();
DECLARE_DYNCREATE(CLmlView)
// Attributes
public:
CLmlDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLmlView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void SetMifPen(int nStyle,int nWidth,COLORREF crColor,CPen *pen);
void SetSymbols(CDC *pDC,CPoint point,int nShape, COLORREF crColor, int nSize);
void SetMifBrush(int nStyle,COLORREF crFore,COLORREF crBk,CBrush* brush);
virtual ~CLmlView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CLmlView)
afx_msg void OnBmpproc();
afx_msg void OnExtlog();
afx_msg void OnSymbbo();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in lmlView.cpp
inline CLmlDoc* CLmlView::GetDocument()
{ return (CLmlDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LMLVIEW_H__A8CF02AC_BC42_11D5_9E09_F2D45CE2536E__INCLUDED_)