用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "core/SNativeWnd.h"
|
|
|
|
|
|
|
|
|
|
namespace SOUI
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
class SDragWnd : public SNativeWnd
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
SDragWnd(void);
|
|
|
|
|
~SDragWnd(void);
|
|
|
|
|
|
|
|
|
|
static BOOL BeginDrag(HBITMAP hBmp,POINT ptHot ,COLORREF crKey, BYTE byAlpha,DWORD dwFlags);
|
|
|
|
|
static void DragMove(POINT pt);
|
|
|
|
|
static void EndDrag();
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
void OnPaint(HDC dc);
|
|
|
|
|
|
|
|
|
|
BEGIN_MSG_MAP_EX(SDragWnd)
|
|
|
|
|
MSG_WM_PAINT(OnPaint)
|
|
|
|
|
END_MSG_MAP()
|
|
|
|
|
|
|
|
|
|
CPoint m_ptHot;
|
|
|
|
|
HBITMAP m_bmp;
|
|
|
|
|
|
|
|
|
|
static SDragWnd * s_pCurDragWnd;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}//end of namespace
|