Public Member Functions | |
| DECLARE_CLASS_SIID (IID_IComboBase) long AddRef() PURE | |
| 增加引用计数 | |
| long | Release () PURE |
| 减少引用计数 | |
| void | OnFinalRelease () PURE |
| 释放对象 | |
| IWindow * | ToIWindow () 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 |
| 释放对象 | |
| IWindow * | ToIWindow () 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. | |
| void IComboBase::CloseUp | ( | ) |
下拉关闭
SComboBoxBase::CloseUp
Describe 下拉关闭
| IComboBase::DECLARE_CLASS_SIID | ( | IID_IComboBase | ) |
增加引用计数
| void IComboBase::DropDown | ( | ) |
下拉事件
SComboBoxBase::DropDown
Describe 下拉事件
| int IComboBase::FindString | ( | LPCTSTR | pszFind, |
| int nAfter | DEF_VAL-1, | ||
| BOOL bPartMatch | DEF_VALTRUE ) |
查找字符串位置
FindString
| LPCTSTR | pszFind – 查找目标 |
| int | nAfter – 开始位置 |
| int IComboBase::GetCount | ( | ) |
获取下拉项个数
SComboBoxBase::GetCount
Describe 获取下拉项个数
| int IComboBase::GetCurSel | ( | ) |
获取选中值索引
SComboBoxBase::GetCurSel
Describe 获取当前选中索引
| BOOL IComboBase::GetItemText | ( | int | iItem, |
| BOOL | bRawText, | ||
| IStringT * | str ) |
获取指定项文本数据
| iItem | –索引号 | |
| bRawText | –获取原始文本标志 | |
| [out] | str | 输出字符串对象 |
| BOOL IComboBase::IsDropdown | ( | ) |
查询DropDown状态标志
| void IComboBase::OnFinalRelease | ( | ) |
释放对象
| long IComboBase::Release | ( | ) |
减少引用计数
| BOOL IComboBase::SetCurSel | ( | int | iSel | ) |
设置当前选中
SComboBoxBase::SetCurSel
| int | iSel – 选中索引 |
Describe 设置当前选中
| void IComboBase::SetDropdown | ( | BOOL | bDropdown | ) |
设置下拉状态标志
| bDropdown | – TRUE:下拉列表 |
| IWindow * IComboBase::ToIWindow | ( | ) |
转换为IWindow*接口