#ifndef _RESIZE_HPP_ #define _RESIZE_HPP_ #include class Resize { public: Resize(int width,int height, const RECT ©Rect,HGLOBAL hGlobalImage); Resize(int width,int height,int newWidth,int newHeight,HGLOBAL hGlobalImage); ~Resize(void); HGLOBAL resizeImage(void); private: typedef long Index; int mOldWidth; int mOldHeight; int mNewWidth; int mNewHeight; HGLOBAL mhGlobalImage; RECT mCopyRect; WORD mIsCopyRect; }; #endif