📄 finddlg.h
字号:
// FindDlg.h : header file
//
/*
* This sample application and corresponding sample code is provided
* for example purposes only. It has not undergone rigorous testing
* and as such should not be shipped as part of a final application
* without extensive testing on the part of the organization releasing
* the end-user product.
*/
/*
This shows an example of how to embed mapx into an MFC dialog
*/
#include "MapX.h"
/////////////////////////////////////////////////////////////////////////////
// CFindDlg dialog
class CFindDlg : public CDialog
{
// Construction
public:
CFindDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFindDlg)
enum { IDD = IDD_FINDDIALOG };
double m_editZoom;
CString m_editFindItem;
// future expansion to do refining finds
BOOL m_chkUseRefineInfo;
CString m_editRefineItem;
//}}AFX_DATA
CMapX *m_pReferenceMapX; // used to copy layers from main map
int m_nLayerIndex;
CMapX m_ctrlMapX;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFindDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFindDlg)
virtual BOOL OnInitDialog();
afx_msg void OnFindbutton();
afx_msg void OnToolUsedMap1(short ToolNum, double X1, double Y1, double X2, double Y2, double Distance, BOOL Shift, BOOL Ctrl, BOOL FAR* EnableDefault);
virtual void OnCancel();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -