⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qanswerview.h

📁 一款抢答器 界面友好 功能完善 支持断开重连 可在娱乐竞赛中使用此为 源代码
💻 H
字号:
// QAnswerView.h : CQAnswerView 类的接口
//


#pragma once
#include "afxwin.h"
#include "QAnswerDoc.h"
#include "DlgAnswer.h"
#include "afxcmn.h"
#include "bmpprogctrl.h"
#include "afxext.h"

class CQAnswerDoc;
class CQAnswerView : public CFormView
{
protected: // 仅从序列化创建
	CQAnswerView();
	DECLARE_DYNCREATE(CQAnswerView)

public:
	enum{ IDD = IDD_QANSWER_FORM };

// 属性
public:
	CQAnswerDoc * GetDocument() const;

// 操作
public:

// 重写
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual void OnInitialUpdate(); // 构造后第一次调用

// 实现
public:
	virtual ~CQAnswerView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

public:
	CBitmapButton m_btnArray[10];
	//CBitmapButton m_test;


// 生成的消息映射函数
protected:
	DECLARE_MESSAGE_MAP()


public:
//	CButton m_btn;
	afx_msg void OnBnClickedButton11();
	afx_msg void OnBnClickedGroup1();
	afx_msg void OnBnClickedGroup2();
	afx_msg void OnBnClickedGroup7();
	afx_msg void OnBnClickedGroup8();
	afx_msg void OnBnClickedGroup3();
	afx_msg void OnBnClickedGroup9();
	afx_msg void OnBnClickedGroup10();
	afx_msg void OnBnClickedGroup4();
	afx_msg void OnBnClickedGroup6();
	afx_msg void OnBnClickedGroup5();
	afx_msg void OnBnClickedBtnReset();
	/*CProgressCtrl m_ctlProgress;*/
	//CBmpProgCtrl m_bmpProgress;
	UINT m_timeLimit;
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	CBmpProgCtrl m_testProgress;
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	CBitmap m_bmpBG;
	afx_msg void OnSize(UINT nType, int cx, int cy);
	CBitmapButton m_btnStart;
	CBitmapButton m_btnReset;
	//CStatic m_pictureCtl;
	//afx_msg void OnStnClickedStatic3();
	afx_msg void OnStnClickedPicture();
public:
	UINT m_uState;
};

#ifndef _DEBUG  // QAnswerView.cpp 中的调试版本
inline CQAnswerDoc* CQAnswerView::GetDocument() const
   { return reinterpret_cast<CQAnswerDoc*>(m_pDocument); }
#endif

⌨️ 快捷键说明

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