0 Replies Latest reply on Jun 5, 2009 6:52 PM by webedgegav

    InvokeEvent From Dock Click


      I have multipage application that uses the InvokeEvent to capture the click from the dock icon, unfortunately it also receives an InvokeEvent when the page is displayed. I can trap that first time the page opens and ignore it by using variables set before I add the listener but when navigating from another page (i.e. after the Invoke listener has been added) I don't know how to tell whether the event came from the page opening or the dock icon being clicked, the result being that the page closes when navigating from another page.


      How can I tell the difference between these 2 event? Easy for the system tray as we have the "click" event, but not for the dock.