用于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.

99 lines
2.1 KiB

5 months ago
/**
* Copyright (C) 2014-2050 SOUI团队
* All rights reserved.
*
* @file SCaption.h
* @brief
* @version v1.0
* @author soui
* @date 2014-05-28
*
* Describe
*/
#pragma once
#include "core/SWnd.h"
namespace SOUI
{
/**
* @class CSCaption
* @brief
*
* Describe
*/
class SOUI_EXP SCaption :
public SWindow
{
SOUI_CLASS_NAME(SCaption, L"caption")
public:
/**
* CSCaption::CSCaption
* @brief
*
* Describe CSCaption类的构造函数
*/
SCaption(void);
/**
* CSCaption::~CSCaption
* @brief
*
* Describe ~CSCaption类的构造函数
*/
virtual ~SCaption(void);
protected:
/**
* CSCaption::OnLButtonDown
* @brief
* @param UINT nFlags --
* @param CPoint point --
*
* Describe
*/
void OnLButtonDown(UINT nFlags, CPoint point);
/**
* CSCaption::OnLButtonDblClk
* @brief
* @param UINT nFlags --
* @param CPoint point --
*
* Describe
*/
void OnLButtonDblClk(UINT nFlags, CPoint point);
/**
* CSCpation::OnMouseMove
*
*
*/
void OnMouseMove(UINT nFlags, CPoint point);
/**
* CSCpation::OnLButtonUp
*
*
*/
void OnLButtonUp(UINT nFlags, CPoint point);
/**
* Describe
*
* CSCpation::IsSuppotMaxMove
*
* @return true时,,,
* false时不可以实现该功能
*/
BOOL IsSuppotMaxMove();
SOUI_MSG_MAP_BEGIN()
MSG_WM_LBUTTONDOWN(OnLButtonDown)
MSG_WM_LBUTTONDBLCLK(OnLButtonDblClk)
MSG_WM_MOUSEMOVE(OnMouseMove)
MSG_WM_LBUTTONUP(OnLButtonUp)
SOUI_MSG_MAP_END()
private:
BOOL m_bIsMaxDown;//最大化时,鼠标左键是否已经按下
};
}