title: How do I draw a rounded rectangle without filling it (in MFC)?
body: <p>Another drawing question for you MFC/GDI gurus out there... :-)</p>
  
  <p>I'm using MFC, and I'm doing some drawing with a CDC object. That works fine.</p>
  
  <p>But now I want to draw a rectangle with rounded corners, the line being a couple of pixels wide. But I dont want any filling to occur! There is a method CDC::RoundRect - I just set the pen I want and get a beautiful rounded rectangle with that pen. But CDC::RoundRect also fills the rectangle with the current brush.</p>
  
  <p>Is there any way to draw just the line, with no filling? Any other method I haven't found? Or can I create some sort of "null brush" that doesn't alter what's in the middle of the rectangle?</p>
  
  <p>I'd be very grateful for some good advice!</p>
  
  <p>/Anders from Sweden</p>