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

📄 dialogtest7dlg.h

📁 其他人不需帐号就可自由下载此源码 实现了一个类似金山杀毒软件的界面
💻 H
字号:
// DialogTest7Dlg.h : header file
//

#if !defined(AFX_DIALOGTEST7DLG_H__25CD2AFB_4029_4793_9310_EE481696788D__INCLUDED_)
#define AFX_DIALOGTEST7DLG_H__25CD2AFB_4029_4793_9310_EE481696788D__INCLUDED_

#include "MyButton.h"
#include "MyPopButton.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDialogTest7Dlg dialog

#define WM_MOUSEONBUTTON   WM_USER+100 
#define WM_MOUSEOFFBUTTON  WM_USER+101
class CDialogTest7Dlg : public CDialog
{
// Construction
public:
	CDialogTest7Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDialogTest7Dlg)
	enum { IDD = IDD_DIALOGTEST7_DIALOG };
	CMyButton		m_btnAllKV;
	CMyButton		m_btnUpdate;
	CMyButton		m_btnFlashKV;
	CMyPopButton	m_btnMyKV;

	//}}AFX_DATA

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

public:
	void ChangeCursor(HCURSOR hCursor);
	CBitmap	m_bmMainBk;


	CRect m_rcMyComputer;
	CRect m_rcMyDocument;
	CRect m_rcMyDownload;
	CRect m_rcMyHarddisk;
	CRect m_rcMyCompactdisk;
    CRect m_rcMyFloppydisk;
	CRect m_rcMyStorage;
	CRect m_rcMySelfDocument;
	CRect m_rcSelected;

	CRect m_rcBtnAllKV;
	CRect m_rcBtnFlashKV;
	CRect m_rcBtnUpdate;
	CRect m_rcBtnMyKV;

	CString m_strSelected;

	BOOL m_bMouseOnButton;
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDialogTest7Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	//}}AFX_MSG
	afx_msg void OnMouseOnButton();
	afx_msg void OnMouseOffButton();
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DIALOGTEST7DLG_H__25CD2AFB_4029_4793_9310_EE481696788D__INCLUDED_)

⌨️ 快捷键说明

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