QQBitmap.h
资源名称:CQQFind.rar [点击查看]
上传用户:cxh888fhc
上传日期:2017-07-08
资源大小:240k
文件大小:1k
源码类别:
钩子与API截获
开发平台:
Visual C++
- // QQBitmap.h: interface for the CQQBitmap class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_QQBITMAP_H__85D123C4_51DE_450D_97B8_A97C9891EC15__INCLUDED_)
- #define AFX_QQBITMAP_H__85D123C4_51DE_450D_97B8_A97C9891EC15__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include <Afxtempl.h>
- class CQQBitmap
- {
- public:
- void GetPicture1Rect(RECT &rcP1);
- void FindDifferent();
- CQQBitmap(CString strFilePath);
- BOOL SetCurrenthWnd(HWND hWnd);
- CQQBitmap();
- CQQBitmap(HWND hWnd);
- virtual ~CQQBitmap();
- BOOL DividPicture();
- void PrintBitmapToFile(CString strFilePath,BOOL bBitmapFormat);
- void GetDiffRects(CArray<RECT,RECT>& array);
- private:
- void CheckStyle();
- BOOL m_bSmall;
- // void GetHLine(int &p1Left,int &p1Right,int &p2Left,int &p2Right);
- BOOL DividPictureH();
- BOOL DividPictureV();
- CBitmap m_bpAllPicture;
- CBitmap m_bpPicture1;
- CBitmap m_bpPicture2;
- HWND m_hWnd;
- LONG m_nTop; //记录图形数据离窗口图形上边的距离.
- LONG m_nP1Left;
- LONG m_nP2Left;
- LONG m_nP1Right;
- LONG m_nBottom;
- CArray<RECT,RECT> m_arrayDifRect;
- };
- #endif // !defined(AFX_QQBITMAP_H__85D123C4_51DE_450D_97B8_A97C9891EC15__INCLUDED_)