querydlg.h
来自「用VC+SuperMap开发的校园GIS系统」· C头文件 代码 · 共 56 行
H
56 行
#if !defined(AFX_QUERYDLG_H__1BA1C7F4_D7B7_4C07_A9A8_246D8B64B083__INCLUDED_)
#define AFX_QUERYDLG_H__1BA1C7F4_D7B7_4C07_A9A8_246D8B64B083__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QueryDlg.h : header file
#include "supermap.h"
/////////////////////////////////////////////////////////////////////////////
// CQueryDlg dialog
class CQueryDlg : public CDialog
{
// Construction
public:
CQueryDlg(CWnd* pParent = NULL); // standard constructor
//设置指向地图窗口的指针
void SetParentSupermap(CSuperMap *pSupermap);
//刷新查询对话框的内容
void RefreshContent();
// Dialog Data
//{{AFX_DATA(CQueryDlg)
enum { IDD = IDD_QUERY };
CButton m_Ok;
CButton m_Cancel;
CComboBox m_LayerName;
CEdit m_txtQuery;
//}}AFX_DATA
private:
//指向地图窗口的指针
CSuperMap *m_pSupermap;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQueryDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CQueryDlg)
virtual void OnOK();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QUERYDLG_H__1BA1C7F4_D7B7_4C07_A9A8_246D8B64B083__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?