Microsoft Chat Server SDK Reference |
---|
This notification indicates that the user's away text is changing.
Visual Basic:HRESULT OnAwayChanged(
IChatUser *User,
BSTR *Away,
VARIANT_BOOL PostUpdate,
long *Cancel);
Function IChatUserCallBack_OnAwayChanged( _
ByVal User As CHATSVCLib.IChatUser, _
ByRef Away As String, _
ByVal PostUpdate As Boolean) As Long
Away
during the pre-update notification. An extension can use this notification to allow or disallow the new away message based on its content. To clear the away message, set Away to the empty string ("") during the pre-update notification.
When this property changes, the OnUserPropertyChanged method is not called. Extensions that are interested in the OnAwayChanged event should register for this notification explicitly.
© 1998 Microsoft Corporation. All rights reserved.