title: Disabling visual styles in manifest while retaining Common Controls functionality
body: <p>I'm using pure WINAPI, and need to send the <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb787342%28v=vs.85%29.aspx" rel="nofollow">TB_GETMETRICS</a> message. However, that message only works if you add a manifest file to your application with a reference to Common Controls version 6.0. I added it, the message is working, but now my application is using Vista/Windows 7 visual styles, which I do not want.</p>
  
  <p>Is there any way to keep the Common Controls 6.0 reference while using Classic theme, either by modifying the manifest file or by calling some API function?</p>
  
  <p>Note: I tried <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb759827%28v=vs.85%29.aspx" rel="nofollow">SetWindowTheme</a> but the result was a mix of Classic and Aero.</p>
  
  <p>EDIT: I hadn't read the SetWindowTheme function correctly, so I was thinking calling it for the parent hWnd would automatically call it for all its child. It turns out I need to call it for each control I want to use Windows Classic. It's working as it should now.</p>