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

Public Member Functions

 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 56 of file SCtrl-i.h.

Member Function Documentation

◆ DECLARE_CLASS_SIID()

IOsrPanel::DECLARE_CLASS_SIID ( IID_IOsrPanel )

增加引用计数

Returns
新引用计数

◆ GetItemData()

LPARAM IOsrPanel::GetItemData ( )

获取在列表中的用户数据

Returns
LPARAM 在列表中的用户数据

◆ GetItemIndex()

LPARAM IOsrPanel::GetItemIndex ( )

获取在列表中的索引

Returns
LPARAM 在列表中的索引

◆ OnFinalRelease()

void IOsrPanel::OnFinalRelease ( )

释放对象

Returns
void

◆ PtToHost()

void IOsrPanel::PtToHost ( POINT * pt)

将panel的坐标转换为host坐标

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

◆ Release()

long IOsrPanel::Release ( )

减少引用计数

Returns
新引用计数

◆ SetItemData()

void IOsrPanel::SetItemData ( LPARAM dwData)

设置列表项的用户数据

Parameters
dwData– 用户数据
Returns

◆ SetItemIndex()

void IOsrPanel::SetItemIndex ( LPARAM index)

设置在列表中对应的索引

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

◆ ToIWindow()

IWindow * IOsrPanel::ToIWindow ( )

转换为IWindow*接口

Returns
IWindow*接口

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