www.pudn.com > GandyDraw_MFC.rar > ChangeBmp.h, change:2006-11-16,size:666b


#pragma once 
#include "afxwin.h" 
 
 
// CChangeBmp 对话框 
 
class CChangeBmp : public CDialog 
{ 
	DECLARE_DYNAMIC(CChangeBmp) 
 
public: 
	CChangeBmp(CWnd* pParent = NULL);   // 标准构造函数 
	virtual ~CChangeBmp(); 
 
// 对话框数据 
	enum { IDD = IDD_CHANGE_BMP }; 
 
protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持 
 
	DECLARE_MESSAGE_MAP() 
public: 
	afx_msg void OnBnClickedLoadbmp(); 
public: 
	CBitmap m_FileBitmap; 
public: 
	int m_iShowWidth; 
public: 
	int m_iShowHeight; 
//public: 
//	BITMAP bs; 
public: 
	void ShowImg(UINT ID, HBITMAP hBmp); 
public: 
	afx_msg void OnPaint(); 
public: 
	CString m_BmpPathName; 
};