title: Using AlphaBlend() and FillRect()
body: <p>So, I'm using <a href="http://msdn.microsoft.com/en-us/library/dd183351%28VS.85%29.aspx" rel="nofollow noreferrer">AlphaBlend</a>() to copy a rectangle from one HBITMAP to another.</p>
  
  <p>It works, but there is a problem.  Whenever I use the FillRect() function, the alpha values in the HBITMAP get slammed out to 0.  Everytime.</p>
  
  <p>So I have to GetDIBits(), reset the alpha back to 255, and then SetDIBits(), after every call to the Win32 api functions like FillRect().</p>
  
  <p>So, is there a way to create an HBRUSH or otherwise tell FillRect() not to <em>touch</em> the alpha channel values in the HBITMAP it is going to be drawing to?</p>