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
332
Settings
posted

I have a WinDesktopAlert with its MultipleWindowDisplayStyle set to Tiled. I'm not sure if this is the correct settings to make the toasts popup in tiled mode, but it seemed to work so I'll stick with it for now. However I would also like the user to be able to reposition the toasts, and even to overlap the toasts. However it seems this is not possible unless I choose the Overlap style to begin with. However if this is the case, then all toasts popup in a overlapped mode to begin with, which is unacceptable. Any ideas?

Secondly, I have programmatically set AutoClose property to False, and was able to fill up my screen with popup toasts (...just a simple test with Systems.Windows.Forms.Timer), and found that the UltraDesktopAlert control will cache (in a collection i suppose?) undisplayed popups until I make room available (by manually closing some of the existing toasts). Is there a limit to this cache? what is the breaking point of this cache? is there a property or method which exposes this cache?

Thanks, and have a merry christmas

-kel-

  • 69832
    Verified Answer
    Offline posted

    Note that there is a property which determines whether the alerts can be moved by the end user (see UltraDesktopAlert.AllowMove). The property defaults to true for Office2007 style and false otherwise. There is no setting for MultipleWindowDisplayStyle which tiles the alerts when they are first displayed but then allows them to overlap. You might be able to work around this by setting MultipleWindowDisplayStyle to 'Overlap', and then setting their initial location manually, using the UltraDesktopAlertShowWindowInfo's Screen, ScreenPosition, and ScreenLocation properties. The UltraDesktopAlertWindowInfo class (which is the return type of the Show method) exposes a Bounds property, which you can use to determine the size and position of each alert that is being displayed.

    Regarding your second question: the component does not cache the alerts, it just displays them. I responded to another post of yours that goes into more detail about this.