Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm not <em>100%</em> on this, but I think it would be much more efficient to spawn a new instance of the window into a collection maintained by your main window (or an object there-in). Then you could create an event that could be subscribed to by the newly spawned window. Once the new windows are watching for updates from the main window or object, you could just fire the event on the main window and let your notification windows take care of the rest. </p> <p>As far as the notification window tracking, you could allow the notification windows to be alerted via another event hookup that there is a new window to display, and pass it to them (or allow them to retrieve it from the main object.) You can place that window directly beneath the currently visible notification by tracking when the window receives focus. So, the last window that received focus is the one that was last viewed. Once you have the existing window, it's just a matter of creating the new one in the same location (or slightly offset) then calling the focus of the window that's on top.</p> <p>An alternative to tracking the active window via the focus check would be to just go through the collection of window objects contained in your main window, since the collection would be in order of creation. Hope this helps.</p> <p>Found <a href="http://roecode.wordpress.com/2008/01/07/wpf-popup-control-part-1-the-quick-and-dirty-way/" rel="nofollow noreferrer">this link</a> a minute ago regarding popup controls that have some useful properties tied to them.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload