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


Description
The UserClick event is fired when a user clicks the Alert button in an Alert Banner.

DispId 0x01

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

The UserClick syntax has these parts:

Part

Description

profCode

A string containing the profile code the alert is for.

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
The storyId is only valid when AlertWordOnly property is FALSE.

This event is also fired when the user double-clicks an alert in an Alert List dialog box.

See Also: Alert ViewID

Back to: Alert Events