📄 travellerappdlg.h
字号:
// TravellerAppDlg.h : 头文件
//
#pragma once
#include "citymap.h"
#include "atlimage.h"
#include "trenddlg.h"
#include "randcreatedlg.h"
// CTravellerAppDlg 对话框
class CTravellerAppDlg : public CDialog
{
// 构造
public:
CTravellerAppDlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_TRAVELLERAPP_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
int nFilterLoad;
CImage m_imgBackground;
bool m_bShowBackground;
int m_iSelected;
int m_iHighLight;
CCityMap m_cityMap;
CTrendDlg m_dlgTrend;
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnMOpen();
afx_msg void OnMSave();
afx_msg void OnMClear();
afx_msg void OnMDelete();
afx_msg void OnMSetBk();
afx_msg void OnMShowBk();
afx_msg void OnMBeginCompute();
afx_msg void OnMEndCompute();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnClose();
afx_msg void OnMQuit();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnMShowTrend();
afx_msg void OnMRand();
afx_msg void OnMAbout();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -