www.pudn.com > XRayImg.rar > DibGatherStatic.h


#if !defined(AFX_DIBGATHERSTATIC_H__849918B1_75E2_4FFB_9A63_965B3284D2CA__INCLUDED_) 
#define AFX_DIBGATHERSTATIC_H__849918B1_75E2_4FFB_9A63_965B3284D2CA__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// DibGatherStatic.h : header file 
// 
#include "DibImage\dibimage.h" 
///////////////////////////////////////////////////////////////////////////// 
// CDibGatherStatic window 
 
class CDibGatherStatic : public CStatic 
{ 
// Construction 
public: 
	CDibGatherStatic(); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDibGatherStatic) 
	protected: 
	virtual void PreSubclassWindow(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CDibGatherStatic(); 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CDibGatherStatic) 
	afx_msg void OnPaint(); 
	//}}AFX_MSG 
 
	DECLARE_MESSAGE_MAP() 
 
public: 
	BOOL SaveToFile(CString sPath); 
 
	BOOL FillDataToDib(int iX,int iY,int nBitCount,UCHAR *pData); 
 
	//DIB位图数据部分 
	CDibImage	m_dib; 
 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DIBGATHERSTATIC_H__849918B1_75E2_4FFB_9A63_965B3284D2CA__INCLUDED_)