Cisco Cisco Computer Telephony Integration OS 8.5 开发者指南

下载
页码 506
   
5-26
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 5      CTI OS ActiveX Controls
CTI OS ActiveX Control Descriptions
GetCellText
Gets the text from the requested cell in requested row.
Syntax
COM: HRESULT GetCellText([in] int nRow, [in] int nCol, [out,retval] BSTR* bstrContent)
VB:
GetCellText(nRow As Integer, nCol As Integer) As String
.NET: System.String   GetCellText(System.Int16 nRow, System.Int16 nCol)
Parameters
nRow
This is a row index number and an input parameter as type Integer.
nCol
This is a column index number and an input parameter as type Integer.
Return Value
Return type is String.
GetSelectedRow
Gets the selected row index.
Syntax
COM: HRESULT GetSelectedRow([out,retval] int *nRow)
VB:
GetSelectedRow() As Integer
.NET: System.Int32 GetSelectedRow()
Parameters
None.
Return Value
Return type is Integer.
SelectRow
Sets the requested row as selected.
Syntax
COM: HRESULT SelectRow([in] int nRow, [out,retval] VARIANT_BOOL * bStatus)
VB:
SelectRow(nRow As Integer) As Boolean
.NET: System.Boolean SelectRow(System.Int32 nRow)
set_ColumnECCName
Sets the column ECC name of requested column with given text.
set_ColumnECCOffset
Sets the column Offset value of requested column with given value.
set_ColumnHeader
Sets the column header of requested column with given text.
set_ColumnWidth
Sets the column width of requested column with given value.
SetCellText
Sets the given text to the requested cell in requested row.
Method
Description