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

📄 cddlg.h

📁 基于VC环境下的光驱驱动程序
💻 H
字号:
// cdDlg.h : header file
//

#if !defined(AFX_CDDLG_H__6CD06EC0_0E8D_4CE5_A5BA_59521ED4FF74__INCLUDED_)
#define AFX_CDDLG_H__6CD06EC0_0E8D_4CE5_A5BA_59521ED4FF74__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include<mmsystem.h>
#pragma comment(lib,"winmm.lib")

/////////////////////////////////////////////////////////////////////////////
// CCdDlg dialog

#define MYWM_NOTIFYICON WM_USER+1

class CCdDlg : public CDialog
{
// Construction
public:
	BOOL TaskBarDeleteIcon(HWND hwnd, UINT uID);
	BOOL TaskBarAddIcon(HWND hwnd, UINT uID, HICON hicon, LPSTR lpszTip);
	CCdDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCdDlg)
	enum { IDD = IDD_CD_DIALOG };
	CHotKeyCtrl	m_hotkey;
	CButton	m_tanchu;
	CButton	m_guanbi;
	BOOL	m_bAutoRun;
	BOOL	m_bMinimized;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCdDlg)
	public:
	virtual BOOL DestroyWindow();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCdDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnMyIconNotify(WPARAM wParam,LPARAM lParam);
	afx_msg LRESULT OnHotKey(WPARAM wp,LPARAM lp);
	afx_msg void OnTanchu();
	afx_msg void OnGuanbi();
	afx_msg void OnTuichu();
	afx_msg void OnGuanyu();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnButton1();
	afx_msg void OnCheckAutorun();
	afx_msg void OnCheckMinimized();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	HCURSOR cur;
	CToolTipCtrl m_tooltip;
	BOOL m_btanchu;
	CMenu m_menu;
};

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

#endif // !defined(AFX_CDDLG_H__6CD06EC0_0E8D_4CE5_A5BA_59521ED4FF74__INCLUDED_)

⌨️ 快捷键说明

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