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

📄 guidemo.h

📁 可以检测到插入到USB的设备的插入或者拔出
💻 H
字号:
#if !defined(AFX_GUIDEMO_H__B5473B75_CA84_4F32_8030_459144D286B4__INCLUDED_)
#define AFX_GUIDEMO_H__B5473B75_CA84_4F32_8030_459144D286B4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GUIDEMO.h : header file
//
#include "BitmapDialog.h"
#include "BtnST.h"

/////////////////////////////////////////////////////////////////////////////
// CGUIDEMO dialog

class CGUIDEMO : public CBitmapDialog
//class CGUIDEMO : public CBkDialog
{
// Construction
public:
	CGUIDEMO(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGUIDEMO)
	enum { IDD = IDD_GUI_DIALOG };
	CButtonST	m_btn9;
	CButtonST	m_btn8;
	CButtonST	m_btn7;
	CButtonST	m_btn6;
	CButtonST	m_btn5;
	CButtonST	m_btn4;
	CButtonST	m_btn3;
	CButtonST	m_btn2;
	CButtonST	m_btn10;
	CButtonST	m_btn1;
	CButtonST	m_btnCancel;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGUIDEMO)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	//BOOL		m_bFirstTime;
	UINT	m_nWidth;
	UINT	m_nHeight;

	void	InItButton(CButtonST &btn, char *szBmpFileName, int nBtnIdx, struUSB_ID &UsbId);
	LONG GetRegKey(HKEY key, LPCTSTR subkey, LPTSTR retdata);
	HINSTANCE GotoURL(LPCTSTR url, int showcmd, char *szType);
	void ExeAct(int nEntry);
	void CGUIDEMO::OnMenu(int nEntry);
	char *CGUIDEMO::GetFileExt (char *szFileName);

	// Generated message map functions
	//{{AFX_MSG(CGUIDEMO)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonBtn1();
	afx_msg void OnButtonBtn2();
	afx_msg void OnButtonBtn3();
	afx_msg void OnButtonBtn4();
	afx_msg void OnButtonBtn5();
	afx_msg void OnButtonBtn6();
	afx_msg void OnButtonBtn7();
	afx_msg void OnButtonBtn8();
	afx_msg void OnButtonBtn9();
	afx_msg void OnButtonBtn10();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GUIDEMO_H__B5473B75_CA84_4F32_8030_459144D286B4__INCLUDED_)

⌨️ 快捷键说明

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