title: Calling SetParent stops a form using the modern window colours
body: <p>I call these User32.DLL API calls to embed a windows forms form as a child window of another window...</p>
  
  <pre><code>SetWindowLong(frm.Handle.ToInt32, GWL_STYLE, WS_CHILD Or WS_DLGFRAME Or WS_BORDER)
  SetParent(frm.Handle.ToInt32, m_intOldParent)
  </code></pre>
  
  <p>I've noticed in windows 8 that the style of these windows that have had SetParent called look a bit odd, they seem to be using the old SystemColors.ActiveCaption and SystemColors.ActiveCaptionGradient colours to display the Titlebar and not the new Windows 8 colour.</p>
  
  <p>This makes my child windows look a bit odd.</p>
  
  <p>Anyone any ideas how I can get the windows 8 style in my child windows?</p>
  
  <p>NOTE: Think it's also the same in windows 7 too.</p>
  
  <p>Many thanks</p>