ChangeBmp.h
上传用户:do_tie
上传日期:2007-11-03
资源大小:1095k
文件大小:1k
- #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;
- };