?? dialogtest7dlg.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 + -