title: Strange behaviour of edit control background color when using WinXp common controls
body: <p>I am having a strange problem ( well, at least i find it strange =) ). I am writing my own GUI library, which is a wrapper around windows api (and yes, i am aware of WTL and frameworks like MFC =) ). At the current stage i have incapsulated common controls in such manner: for example, Edit class consists of a simple window and an standard edit window above it ( MainWindow -> GhostWindow -> EditBox ). That is how i can for example change a background colour of an edit inside an edit class itself:</p>
  
  <pre><code>myedit-&gt;SetBkColor ( RGB ( 0, 0, 0 ) );
  </code></pre>
  
  <p>And it worked fine, until i called InitCommonControlsEx and attached manifest file to my program. After doing this, my edits become capable of changing colours only when they have focus. To be honest, i don't have a comprehensive thoughts about why do the behave like this and what am i doing wrong, so i will appreciate any help.</p>
  
  <p>Thank you, #535.</p>