Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.4 KiB

  1. #if !defined(AFX_WIAPREVIEW_H__0733B4F0_EC81_11D2_B800_009027226441__INCLUDED_)
  2. #define AFX_WIAPREVIEW_H__0733B4F0_EC81_11D2_B800_009027226441__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // WIAPreview.h : header file
  7. //
  8. #include "cdib.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CWIAPreview window
  11. class CWIAPreview : public CWnd
  12. {
  13. // Construction
  14. public:
  15. CWIAPreview();
  16. // Attributes
  17. public:
  18. // Operations
  19. public:
  20. CDib* m_pDIB;
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CWIAPreview)
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. public:
  27. void CleanBackground();
  28. void PaintImage();
  29. POINT m_Scrollpt;
  30. void SetPaintMode(int modeflag);
  31. void SetDIB(CDib* pDib);
  32. virtual ~CWIAPreview();
  33. // Generated message map functions
  34. protected:
  35. int m_PaintMode;
  36. //{{AFX_MSG(CWIAPreview)
  37. afx_msg void OnPaint();
  38. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  39. afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. /////////////////////////////////////////////////////////////////////////////
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_WIAPREVIEW_H__0733B4F0_EC81_11D2_B800_009027226441__INCLUDED_)