www.pudn.com > BMPTest.rar > BMPTestDlg.h


// BMPTestDlg.h : header file 
// 
 
#pragma once 
 
 
// CBMPTestDlg dialog 
class CBMPTestDlg : public CDialog 
{ 
// Construction 
public: 
	CBMPTestDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	enum { IDD = IDD_BMPTEST_DIALOG }; 
 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
 
 
// Implementation 
protected: 
	HICON m_hIcon; 
	BYTE* m_DIBData; 
	BITMAPFILEHEADER bmfHeader; 
	BITMAPINFOHEADER bmiHeader; 
 
	// Generated message map functions 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	DECLARE_MESSAGE_MAP() 
public: 
	afx_msg void OnBnClickedButton1(); 
	afx_msg void OnDestroy(); 
};