Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
Chapter 6      Event Interfaces and Events
IButtonEnablementEvents
6-100
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
IButtonEnablementEvents
This interface allows a client application to receive events that indicate what 
buttons can be enabled on the user interface, given the current agent and current 
call states. 
OnButtonEnablementChange
The OnButtonEnablementChange event is received by a client in agent mode 
whenever CIL receives an agent or call event that carries the EnablementMask 
field in its parameters. This event allows the client application to enable or disable 
elements on the user interface. The fields in the event are the same as in 
OnButtonEnablementChange.
C++:
void OnButtonEnablementChange (Arguments& args)
COM:
void OnButtonEnablementChange (IArguments * args)
VB:
session_ OnButtonEnablementChange (ByVal args As 
CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
SkillGroupNumber
INT
Skill group number
SkillGroupName
STRING
Skill group name associated with the 
skill group number above
Keyword
Type
Description
EnablementMask
INT
Contains the bit-mask that specifies what 
buttons can be enabled or disabled when 
this call is the current call. See 
.