Hello,
If i have multiple UtlraDesktopAlert windows on my screen, How do can i get the "windowinfo.data" or "windowinfo.key" on mouseover on the currently hovered Alert? I know clicking on it will give me that values I need, but I need it to work on mouseover. I tried using winowinfo.data in the " Private Sub UltraDesktopAlert1_MouseEnterElement" but keep getting back the data from the lasted open alert not the currently hovered Alert.
Thanks
How are you able to get a reference to UltraDesktopAlertWindowInfo from UltraDesktopAlertWindow?
When you call the component's 'Show' method, it returns an object of type UltraDesktopAlertWindowInfo; this class exposes a reference to the UltraDesktopAlertWindow control that is displayed (see the DesktopAlertWindow property). This will be a different instance for each alert that gets displayed. You can hook the MouseEnter event for this control, and then when the handling method is called, you can upcast the value of the 'sender' parameter to type UltraDesktopAlertWindow, from which you can get a reference to the associated UltraDesktopAlertWindowInfo instance.