Click here for NewsObjects Overview
Alert Event (Alert Control)
Windows - Visual C++


Description
The Alert event is fired when the control receives an alert notification for the specified profile.

DispId 0x02

Syntax
void OnAlert(LPCTSTR profCode, LPCTSTR alertText, long storyID);

The Alert syntax has these parts:

Part

Description

profCode

A string containing the profile code that triggered the alert.

alertText

A string containing the alert text, either headline or profile-hit word, of the alert.

storyID

A long integer containing the ID of the story associated with this alert.

Remarks
This event is only fired for a given profile when the NotifyContainer property is TRUE for that profile. The storyID is only valid when the AlertWordOnly property is FALSE.

See Also: AlertWordOnly NotifyContainer UserClick ViewID

Back to: Alert Events