seldlg.h

来自「该例子给出了利用MAPX」· C头文件 代码 · 共 54 行

H
54
字号
#if !defined(AFX_SELDLG_H__515B1DE0_6A20_11D3_92B5_0000E826141B__INCLUDED_)
#define AFX_SELDLG_H__515B1DE0_6A20_11D3_92B5_0000E826141B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SelDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSelLayerDlg dialog

class CSelLayerDlg : public CDialog
{
// Construction
public:
	CSelLayerDlg(CWnd* pParent = NULL);   // standard constructor
	CSelLayerDlg(CMapX* pMapX,CWnd* pParent = NULL);   // standard constructor
// Dialog Data
	//{{AFX_DATA(CSelLayerDlg)
	enum { IDD = IDD_DIALOG_SELECTEDITLAYER };
	CListBox	m_listBox;
	CString	m_strListBox;
	CString	m_strLayer;
	//}}AFX_DATA

public:
	void SetEditLayerName(CString str);
	CString GetEditLayerName();
    CMapX* m_pMapX;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSelLayerDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSelLayerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeListLayerdlg();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SELDLG_H__515B1DE0_6A20_11D3_92B5_0000E826141B__INCLUDED_)

⌨️ 快捷键说明

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