travellerappdlg.h
来自「旅行商问题」· C头文件 代码 · 共 70 行
H
70 行
// 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 + =
减小字号Ctrl + -
显示快捷键?