soui 5.0.0.1
 
Loading...
Searching...
No Matches
IComboBase Struct Reference
Inheritance diagram for IComboBase:
ICtrl IObjRef TWindowProxy< IComboBase > IComboBox IComboView SComboBase TComboBaseProxy< IComboBox > TComboBaseProxy< IComboView > TComboBaseProxy< IComboBox > TComboBaseProxy< IComboView > TComboBaseProxy< T > SComboBox SComboView SComboBox SComboView

Public Member Functions

 DECLARE_CLASS_SIID (IID_IComboBase) long AddRef() PURE
 增加引用计数
 
long Release () PURE
 减少引用计数
 
void OnFinalRelease () PURE
 释放对象
 
IWindowToIWindow () PURE
 转换为IWindow*接口
 
int GetCurSel () SCONST PURE
 获取选中值索引
 
int GetCount () SCONST PURE
 获取下拉项个数
 
BOOL SetCurSel (int iSel) PURE
 设置当前选中
 
BOOL GetItemText (int iItem, BOOL bRawText, IStringT *str) SCONST PURE
 获取指定项文本数据
 
BOOL GetItemTextA (int iItem, BOOL bRawText, IStringA *str) SCONST PURE
 
int FindString (LPCTSTR pszFind, int nAfter DEF_VAL(-1), BOOL bPartMatch DEF_VAL(TRUE)) PURE
 查找字符串位置
 
int FindStringA (LPCSTR pszFind, int nAfter DEF_VAL(-1), BOOL bPartMatch DEF_VAL(TRUE)) PURE
 
void DropDown () PURE
 下拉事件
 
void CloseUp () PURE
 下拉关闭
 
BOOL IsDropdown () SCONST PURE
 查询DropDown状态标志
 
void SetDropdown (BOOL bDropdown) PURE
 设置下拉状态标志
 
- Public Member Functions inherited from ICtrl
 DECLARE_CLASS_SIID (IID_ICtrl) long AddRef() PURE
 增加引用计数
 
long Release () PURE
 减少引用计数
 
void OnFinalRelease () PURE
 释放对象
 
IWindowToIWindow () PURE
 转换为IWindow*接口
 
- Public Member Functions inherited from IObjRef
long AddRef () PURE
 Increases the reference count.
 
long Release () PURE
 Decreases the reference count.
 
void OnFinalRelease () PURE
 Called when the reference count reaches zero and the object is about to be released.
 

Detailed Description

Definition at line 1851 of file SCtrl-i.h.

Member Function Documentation

◆ CloseUp()

void IComboBase::CloseUp ( )

下拉关闭

SComboBoxBase::CloseUp

Describe 下拉关闭

◆ DECLARE_CLASS_SIID()

IComboBase::DECLARE_CLASS_SIID ( IID_IComboBase )

增加引用计数

Returns
新引用计数

◆ DropDown()

void IComboBase::DropDown ( )

下拉事件

SComboBoxBase::DropDown

Describe 下拉事件

◆ FindString()

int IComboBase::FindString ( LPCTSTR pszFind,
int nAfter DEF_VAL-1,
BOOL bPartMatch DEF_VALTRUE )

查找字符串位置

FindString

Parameters
LPCTSTRpszFind – 查找目标
intnAfter – 开始位置
Returns
int – 目标索引,失败返回-1。 Describe

◆ GetCount()

int IComboBase::GetCount ( )

获取下拉项个数

SComboBoxBase::GetCount

Returns
返回int

Describe 获取下拉项个数

◆ GetCurSel()

int IComboBase::GetCurSel ( )

获取选中值索引

SComboBoxBase::GetCurSel

Returns
返回int

Describe 获取当前选中索引

◆ GetItemText()

BOOL IComboBase::GetItemText ( int iItem,
BOOL bRawText,
IStringT * str )

获取指定项文本数据

Parameters
iItem–索引号
bRawText–获取原始文本标志
[out]str输出字符串对象
Returns
BOOL TRUE-成功
Remarks
bRawText为TRUE时输出未翻译的文本

◆ IsDropdown()

BOOL IComboBase::IsDropdown ( )

查询DropDown状态标志

Returns
TRUE-当前ComboBase为下拉列表
Remarks
内部使用方法

◆ OnFinalRelease()

void IComboBase::OnFinalRelease ( )

释放对象

Returns
void

◆ Release()

long IComboBase::Release ( )

减少引用计数

Returns
新引用计数

◆ SetCurSel()

BOOL IComboBase::SetCurSel ( int iSel)

设置当前选中

SComboBoxBase::SetCurSel

Parameters
intiSel – 选中索引

Describe 设置当前选中

◆ SetDropdown()

void IComboBase::SetDropdown ( BOOL bDropdown)

设置下拉状态标志

Parameters
bDropdown– TRUE:下拉列表
Returns
Remarks
内部使用方法

◆ ToIWindow()

IWindow * IComboBase::ToIWindow ( )

转换为IWindow*接口

Returns
IWindow*接口

The documentation for this struct was generated from the following file: