title: Window doesn't show when ShowInTaskbar is false and display is turned off automatically
body: <p>I met a problem regarding to WPF window on windows vista SP2.</p>
  
  <p>I create a window with following properties:</p>
  
  <pre><code>WindowStyle="None" 
  ShowInTaskbar="False" 
  ResizeMode="NoResize" 
  Background="Transparent"
  </code></pre>
  
  <p>The ShowInTaskbar is set to false, which means the window will not show taskbar button, but you can see it in the taskbarlist using Alt+tab</p>
  
  <p>In my application, when receiving some events, the window will be created and Show(), for example,</p>
  
  <pre><code>window1 wd = new windw1();
  wd.topmost = true;
  wd.show();
  </code></pre>
  
  <p>I happen to find in the followin case, the window is not show correctly</p>
  
  <p>My display setting in the power manager is set to turn off display in 1 minute,</p>
  
  <p>After 1 minute, my display turned off, after that, there is a event which triggered the window to show, but after i move the mouse to get the display back, i didn't see the window is showed, instead, when i use Alt+Tab, i can find a window transparent in the taskbarlist with my application icon. It's very strange. after i click "show desktop" for two times, the window show itself.</p>
  
  <p>i googled in the internet, and found it seems that when showtaskbar is set to false, there will be another transparent window created which is the owner for the current window, this explains that why i can see transparent window in taskbarlist usring Alt+Tab. I assume that the window is not correctly painted in this case.</p>
  
  <p>I think it's a bug of WPF, is there any workaround for it?</p>
  
  <p>Thanks in advance</p>