Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 490
   
5-29
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 5      CTI OS ActiveX Controls
CTI OS ActiveX Control Descriptions
Figure 5-13
Chat Control
You can specify an AgentID in the field labeled Send to AgentID and then enter a message in the Edit 
Outgoing Message
 box. Click the Send Button to send the message. Incoming messages ware displayed 
in the Message Display. Click the Clear button to clear the display.
The ChatCtl does not implement a button directly, but you can link it to a button through Visual Basic 
so that a click on the button pops up the ChatCtl.
Methods
Table 5-7
Available Methods for ChatCtl
GetAddressee
Gets the current Addressee from the Send to Agent ID Combo box.
Syntax
COM: HRESULT GetAddressee ([out,retval] BSTR* addressee)
VB:
GetAddressee()As String
.NET: System.String GetAddressee()
Parameters
Method
Description
GetAddressee
Gets the current Addressee from the Send to Agent ID Combo box.
GetAllChatMessages
Gets the all chat messages from the Message Display Text Area.
GetChatMessageText
Gets the chat message from the Edit Outgoing Message Text Area.
OnMsgReceived
When message received from an Agent, appends the received message to the 
Message Display Text Area.
SendChatMessage
Sends the chat message to current Addressee in the Send to Agent ID Combo 
box.
SetAddressee
Sets the current Addressee to the Send to Agent ID Combo box.
SetChatMessageText
Sets the chat message to the Edit Outgoing Message Text Area.