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

117 lines
2.9 KiB

5 months ago
#pragma once
#include "SComboBase.h"
#include "SListView.h"
namespace SOUI
{
class SOUI_EXP SComboView : public SComboBase
{
SOUI_CLASS_NAME(SComboView,L"comboview")
public:
SComboView(void);
~SComboView(void);
BOOL SetCurSel(int iSel);
/**
* SComboView::GetCurSel
* @brief
* @return int --
*
* Describe
*/
int GetCurSel() const;
/**
* SComboView::GetCount
* @brief
* @return int
*
* Describe
*/
int GetCount() const;
/**
* SComboView::GetLBText
* @brief
* @param int iItem --
*
* Describe
*/
SStringT GetLBText(int iItem,BOOL bRawText=FALSE);
/**
* SComboView::GetListBox
* @brief
* @param SListBox *
*
* Describe
*/
SListView * GetListView();
protected:
/**
* SComboView::FireEvent
* @brief
* @param EventArgs &evt --
*
* Describe
*/
virtual BOOL FireEvent(EventArgs &evt);
virtual void OnScaleChanged(int nScale);
/**
* SComboView::CreateListBox
* @brief
* @param BOOL TRUE -- FALSE --
*
* Describe
*/
virtual BOOL CreateListBox(pugi::xml_node xmlNode);
/**
* SComboView::GetListBoxHeight
* @brief
* @param int
*
* Describe
*/
virtual int GetListBoxHeight();
/**
* SComboView::OnCreateDropDown
* @brief
* @param SDropDownWnd *pDropDown --
*
* Describe
*/
virtual void OnCreateDropDown(SDropDownWnd *pDropDown);
/**
* SComboView::OnDestroyDropDown
* @brief
* @param SDropDownWnd *pDropDown --
* @param UINT uCode --
*
* Describe
*/
virtual void OnDestroyDropDown(SDropDownWnd *pDropDown);
/**
* SComboView::OnSelChanged
* @brief selected事件
*
* Describe selected事件
*/
virtual void OnSelChanged();
virtual HRESULT OnLanguageChanged() override;
protected:
SListView *m_pListBox; /**< SListBox指针 */
};
}