#if !defined(AFX_HMIMAGESTATIC_H__D74697CD_885E_4E7C_A9EA_2A57C3F51B4A__INCLUDED_) #define AFX_HMIMAGESTATIC_H__D74697CD_885E_4E7C_A9EA_2A57C3F51B4A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // HMImageStatic.h : header file // #include "DefectStorage.h" ///////////////////////////////////////////////////////////////////////////// // CMImageStatic window class CMImageStatic : public CStatic { // Construction public: CMImageStatic(); // Attributes public: UCHAR m_ImageBuf[DEFECTIMAGE_WIDTH * DEFECTIMAGE_HEIGHT + 1]; // °áÇÔ À̹ÌÁö¸¦ º¸¿©ÁÖ´Â ¹öÆÛ. BYTE m_BitmapInfo[sizeof(BITMAPINFOHEADER)+256*sizeof(RGBQUAD)]; BOOL m_bSetImage; void ResetImageStatic(); void ShowGrid(int iShow); void ShowDefectRect(int iShow); void ShowRect(CRect rect); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMImageStatic) //}}AFX_VIRTUAL // Implementation public: virtual ~CMImageStatic(); // Generated message map functions protected: int m_iShowGrid; int m_iShowDefectRect; CRect m_rectDefect; //{{AFX_MSG(CMImageStatic) void DrawDotCenterLine(HDC hDC); void DrawRectangle(HDC hDC, HPEN hPen, CRect rect); afx_msg void OnPaint(); afx_msg void OnRButtonDown(UINT nFlags, CPoint point); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_HMIMAGESTATIC_H__D74697CD_885E_4E7C_A9EA_2A57C3F51B4A__INCLUDED_)