BmpButton.h
上传用户:hahaxixi
上传日期:2022-04-15
资源大小:1939k
文件大小:1k
源码类别:

手机短信编程

开发平台:

Visual C++

  1. #if !defined(AFX_BMPBUTTON_H__16D450A9_C371_4A54_9E0B_D7DB4D5A2167__INCLUDED_)
  2. #define AFX_BMPBUTTON_H__16D450A9_C371_4A54_9E0B_D7DB4D5A2167__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // BmpButton.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CBmpButton window
  10. class CBmpButton : public CButton
  11. {
  12. // Construction
  13. public:
  14. CBmpButton();
  15. HBITMAP m_Hbitmap1;
  16. HBITMAP m_Hbitmap2;
  17. // Attributes
  18. public:
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CBmpButton)
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. public:
  27. void SetHBitmap(HBITMAP m_hbmp1, HBITMAP m_hbmp2);
  28. virtual ~CBmpButton();
  29. // Generated message map functions
  30. protected:
  31. //{{AFX_MSG(CBmpButton)
  32. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  33. //}}AFX_MSG
  34. DECLARE_MESSAGE_MAP()
  35. };
  36. /////////////////////////////////////////////////////////////////////////////
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  39. #endif // !defined(AFX_BMPBUTTON_H__16D450A9_C371_4A54_9E0B_D7DB4D5A2167__INCLUDED_)