title: Border-less winform form shadow
body: <p>I have a border-less windows form that i created a shadow behind it using the code below.<br>
  However when I click on the parent form the shadow disappears.          </p>
  
  <p>can anyone help me out on how to keep the shadow even when clicking on anther form/parent form?<br>
  The shaddow is visable against a diffrent window (chrome for example) but not against it's parent form </p>
  
  <p>(I tried google but couldn't find anything)         </p>
  
  <p><strong>Update</strong><br>
  I do notice that if i minimize the window and maximize it again the shadow does come back</p>
  
  <p><strong>My Code</strong></p>
  
  <pre><code>    private const int CS_DROPSHADOW = 0x00020000;
      protected override CreateParams CreateParams
      {
          get
          {
              CreateParams cp = base.CreateParams;
              cp.ClassStyle |= CS_DROPSHADOW;
              return cp;
          }
      }
  </code></pre>
  
  <p>Thanks in advance</p>