title: Windows C++ dialog resizer class
body: <p>I'm looking for a really good dialog resizer class that will stretch and shrink individual items as needed as the screen is resized.  Stephan Keil has a good one (DlgResizeHelper) which basically resizes everything by a set ratio, but I'm looking for something smarter.</p>
  
  <p>For example:</p>
  
  <ul>
  <li><p>Icons should not resize</p></li>
  <li><p>Single-line text boxes should not be stretched vertically</p></li>
  <li><p>Buttons should probably stay the same size</p></li>
  </ul>
  
  <p>Basically I'm looking for something to look at all of the controls, figure out that a static text field is related to a control next/below it and anchor the two together, and resize large controls in a 'smart' way so it looks good.</p>
  
  <p>Are there such frameworks out there?  I've been working on one but something ready-made would probably be better.</p>
  
  <p>FOLLOW UP: I'm looking at the suggested solutions.  Many of them require you to go in an anchor each control on the dialog.  I'm looking for something smart that will figure out what the anchors ought to be, with the ability to manually anchor if the guesses are wrong.  Seems like it should be possible -- most humans would agree a static text field next to an edit field should be anchored together.  Guess I'm almost looking for a little AI here :)</p>