aoconvertview.h

来自「栅格矢量转换的dll,vc+ao写的」· C头文件 代码 · 共 82 行

H
82
字号
// AoConvertView.h : interface of the CAoConvertView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_AOCONVERTVIEW_H__F7577699_79A5_4007_BC69_051FFF05F17D__INCLUDED_)
#define AFX_AOCONVERTVIEW_H__F7577699_79A5_4007_BC69_051FFF05F17D__INCLUDED_

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


class CAoConvertView : public CFormView
{
	
protected: // create from serialization only
	CAoConvertView();
	DECLARE_DYNCREATE(CAoConvertView)

public:
	//{{AFX_DATA(CAoConvertView)
	enum{ IDD = IDD_AOCONVERT_FORM };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	CAoConvertDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAoConvertView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CAoConvertView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

private:
	
	IMapPtr                m_ipMap;
	ITOCControlPtr         m_ipTOCControl;
	IMapControl2Ptr        m_ipMapcontrol;

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CAoConvertView)
	afx_msg void OnFileOpen();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnToRaster();
	afx_msg void OnClip();
	afx_msg void OnRasterToShp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in AoConvertView.cpp
inline CAoConvertDoc* CAoConvertView::GetDocument()
   { return (CAoConvertDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_AOCONVERTVIEW_H__F7577699_79A5_4007_BC69_051FFF05F17D__INCLUDED_)

⌨️ 快捷键说明

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