oEvents = NEWOBJECT("myclass2") oAlert = NEWOBJECT("InnovaPopupAlertLib.PopupAlertCore") EVENTHANDLER(oAlert, oEvents) oAlert.ActionLinkText="MsgIDHere" *oAlert.SoundName=SYS(5)+CURDIR()+[NewALert.wav] oalert.BackgroundStyle= 1 oAlert.show("New Message Received","hRef") *READ EVENTS RETURN DEFINE CLASS myclass2 AS session OLEPUBLIC IMPLEMENTS __PopupAlert IN "c:\winnt\system32\innovaalert.ocx" PROCEDURE __PopupAlert_Click(hRef AS STRING) AS VOID; HELPSTRING "Occurs if the popup alert is clicked." * add user code here =MESSAGEBOX("Hello") ENDPROC PROCEDURE __PopupAlert_Timeout(hRef AS STRING) AS VOID; HELPSTRING "Occurs if the popup alert closes normally after it's timeout has expired." * add user code here =MESSAGEBOX("Hello") ENDPROC PROCEDURE __PopupAlert_Show(hRef AS STRING) AS VOID; HELPSTRING "Occurs after the popup alert is fully shown, and scrolling has finished" * add user code here ENDPROC PROCEDURE __PopupAlert_Hide(hRef AS STRING) AS VOID; HELPSTRING "Occurs after the popup alert is closed, no matter what source was used to close the alert" * add user code here ENDPROC PROCEDURE __PopupAlert_ActionLinkClick(hRef AS STRING) AS VOID; HELPSTRING "Occurs when the action link of a popup alert is clicked" * add user code here =MESSAGEBOX("Hello") ENDPROC ENDDEFINE