presentdialog.h

来自「The application wizard has created this 」· C头文件 代码 · 共 37 行

H
37
字号
#pragma once


// CPresentDialog 对话框
class CDisplayer;
class CPresentDialog : public CDialog
{
	DECLARE_DYNAMIC(CPresentDialog)

public:
	enum PresentType {PRESENT_NONE,PRESENT_SHOT,PRESENT_DRIBBLE,PRESENT_PASS,PRESENT_INTERCEPT,PRESENT_POS};
	CPresentDialog(CDisplayer* pDisplayer,CWnd* pParent = NULL);   // 标准构造函数
	virtual ~CPresentDialog();
	PresentType getPresentType() const { return _PresentType;	}
// 对话框数据
	enum { IDD = IDD_PRESENTDIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
private:
	CDisplayer* _pDisplayer;
	PresentType _PresentType;
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
	virtual void OnCancel();
public:
	afx_msg void OnBnClickedDribble();
	afx_msg void OnBnClickedShot();
	afx_msg void OnBnClickedPass();
	afx_msg void OnBnClickedIntercept();
	afx_msg void OnBnClickedPos();
	afx_msg void OnBnClickedClear();
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?