soui 5.0.0.1
 
Loading...
Searching...
No Matches
IItemPanel Struct Reference
Inheritance diagram for IItemPanel:
IOsrPanel ICtrl IObjRef TOsrPanelProxy< IItemPanel > SItemPanel

Public Member Functions

 DECLARE_CLASS_SIID (IID_IItemPanel) long AddRef() PURE
 增加引用计数
 
long Release () PURE
 减少引用计数
 
void OnFinalRelease () PURE
 释放对象
 
IWindowToIWindow () PURE
 转换为IWindow*接口
 
void SetItemIndex (LPARAM index) PURE
 设置在列表中对应的索引
 
LPARAM GetItemIndex () SCONST PURE
 获取在列表中的索引
 
void SetItemData (LPARAM dwData) PURE
 设置列表项的用户数据
 
LPARAM GetItemData () SCONST PURE
 获取在列表中的用户数据
 
void PtToHost (POINT *pt) SCONST PURE
 将panel的坐标转换为host坐标
 
void SetSkin (ISkinObj *pSkin) PURE
 设置列表项的skin
 
void SetColor (COLORREF crBk, COLORREF crSelBk) PURE
 设置列表项的颜色配置
 
- Public Member Functions inherited from IOsrPanel
 DECLARE_CLASS_SIID (IID_IOsrPanel) long AddRef() PURE
 增加引用计数
 
long Release () PURE
 减少引用计数
 
void OnFinalRelease () PURE
 释放对象
 
IWindowToIWindow () PURE
 转换为IWindow*接口
 
void SetItemIndex (LPARAM index) PURE
 设置在列表中对应的索引
 
LPARAM GetItemIndex () SCONST PURE
 获取在列表中的索引
 
void SetItemData (LPARAM dwData) PURE
 设置列表项的用户数据
 
LPARAM GetItemData () SCONST PURE
 获取在列表中的用户数据
 
void PtToHost (POINT *pt) SCONST PURE
 将panel的坐标转换为host坐标
 
- 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 125 of file SCtrl-i.h.

Member Function Documentation

◆ DECLARE_CLASS_SIID()

IItemPanel::DECLARE_CLASS_SIID ( IID_IItemPanel )

增加引用计数

Returns
新引用计数

◆ GetItemData()

LPARAM IItemPanel::GetItemData ( )

获取在列表中的用户数据

Returns
LPARAM 在列表中的用户数据

◆ GetItemIndex()

LPARAM IItemPanel::GetItemIndex ( )

获取在列表中的索引

Returns
LPARAM 在列表中的索引

◆ OnFinalRelease()

void IItemPanel::OnFinalRelease ( )

释放对象

Returns
void

◆ PtToHost()

void IItemPanel::PtToHost ( POINT * pt)

将panel的坐标转换为host坐标

Parameters
[in,out]POINT*pt 窗口坐标
Returns
void

◆ Release()

long IItemPanel::Release ( )

减少引用计数

Returns
新引用计数

◆ SetColor()

void IItemPanel::SetColor ( COLORREF crBk,
COLORREF crSelBk )

设置列表项的颜色配置

Parameters
crBk– 背景颜色
crSelBk– 选中状态的背景颜色
Returns

◆ SetItemData()

void IItemPanel::SetItemData ( LPARAM dwData)

设置列表项的用户数据

Parameters
dwData– 用户数据
Returns

◆ SetItemIndex()

void IItemPanel::SetItemIndex ( LPARAM index)

设置在列表中对应的索引

Parameters
index– 索引值,在listview中它是一个索引号,在treeview中它是一个HTREEITEM值
Returns

◆ SetSkin()

void IItemPanel::SetSkin ( ISkinObj * pSkin)

设置列表项的skin

Parameters
pSkin– 列表项的skin
Returns

◆ ToIWindow()

IWindow * IItemPanel::ToIWindow ( )

转换为IWindow*接口

Returns
IWindow*接口

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