📄 schoolguiderdlg.h
字号:
// SchoolGuiderDlg.h : header file
//
#if !defined(AFX_SCHOOLGUIDERDLG_H__F5C035C5_AD44_4837_BB42_9994DDA601CF__INCLUDED_)
#define AFX_SCHOOLGUIDERDLG_H__F5C035C5_AD44_4837_BB42_9994DDA601CF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Graph.h"
/////////////////////////////////////////////////////////////////////////////
// CSchoolGuiderDlg dialog
typedef struct _SCHOOL_POINT
{
POINT pt;
char* name;
}SCHOOL_POINT, *PSCHOOL_POINT;
class CSchoolGuiderDlg : public CDialog
{
// Construction
public:
CSchoolGuiderDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSchoolGuiderDlg)
enum { IDD = IDD_SCHOOLGUIDER_DIALOG };
CStatic m_mapCtrl;
CStatic m_showLenStatic;
CStatic m_showPathStatic;
int m_pathType;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSchoolGuiderDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSchoolGuiderDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnMapClick();
virtual void OnCancel();
afx_msg void OnClean();
afx_msg void OnOptimum();
afx_msg void OnHelpAccount();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
int m_iFirstPointIndex;
int m_iSecondPointIndex;
HICON m_hIcon;
CGraph SchoolGuide;
int m_start;
int m_end;
protected:
BOOL m_bFirstPointSelected;
void Clean();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCHOOLGUIDERDLG_H__F5C035C5_AD44_4837_BB42_9994DDA601CF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -