/ Forums / Advansys Formativ / Creating Solutions with Formativ / Right-click integration in calendar view / Groupwise-Shutdown event / Reply To: Right-click integration in calendar view / Groupwise-Shutdown event
Unfortunately there is no other event for on close GroupWise main window. However, you can use “OnCloseWindow” event and check the message ID from view. ItemMessageIDFromView token return a message ID for all GroupWise message, this token will fail if no message view found. If this token failed then you can be sure GroupWise main window is closed. See the sample code below:
if (GWEvent = "GW#C#TKN#292") then if (instr(1, groupwise.ItemMessageIDFromView, "token failed execution", vbTextCompare) > 0) then msgbox "Closing GroupWise window" else msgbox "Closing message window" end if end if
Hope this helps.