title: System Tray Popup Windows 7 Style
body: <p>I want something like this:</p>
  <p><a href="https://i.stack.imgur.com/QRC6D.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QRC6D.jpg" alt="Tray popup" /></a><br />
  <sub>(source: <a href="https://cybernetnews.com/wp-content/uploads/2008/10/windows-7-wireless.jpg" rel="nofollow noreferrer">cybernetnews.com</a>)</sub></p>
  <p>This window is not resizable, and aligns itself above the system tray icon which it is related to.</p>
  <p>I have this:</p>
  <p><img src="https://i.imgur.com/79FZi.png" alt="Tray popup" /></p>
  <p>Which is resizeable, and it goes wherever it feels like. If you click the volume control in Win 7, it always pops up directly above the icon. This is ideal.</p>
  <p>I've found <a href="https://stackoverflow.com/questions/2169006/create-a-system-tray-styled-box-in-winforms-c">this reference</a> which I think is trying to solve the same problem (can't tell though as the images are dead),</p>
  <p>but I'm using WPF and I'm not sure how to get these Form objects they refer to from my Window object. This is the XAML declaration of my window at the moment:</p>
  <pre><code>&lt;Window
  xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
  xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
  xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
  x:Class=&quot;WirelessControl.Window1&quot;
  x:Name=&quot;Window&quot;
  Title=&quot;Window1&quot;
  Width=&quot;260&quot; Height=&quot;370&quot; mc:Ignorable=&quot;d&quot; WindowStyle=&quot;None&quot;&gt;&lt;/Window&gt;
  </code></pre>
  <p>I feel like based on how common this is in Windows that there must be a fairly easy way to do this.</p>
  <p><code>ResizeMode=&quot;NoResize&quot;</code> causes my window border to disappear, so that's no help.</p>
  <p>Thanks guys, I hope I was comprehensive enough.</p>