Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
UltraDesktop on mouse over?
posted

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

 

 

 

Parents
  • 69832
    Suggested Answer
    Offline posted

    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.

Reply Children
No Data