title: how to add a custom mfc control to the dialog window?
body: <p>I've derived a class from CStatic in MFC. But I don't know how to add it to my dialog window.
  This mfc application that I'm working on is a dialog based application.</p>
  
  <p>In Gtk+ or Qt we could use layouts and add our widgets to them, but in mfc it doesn't seem to be such a mechanism. I'm wondering how is it possible for an custom made control to be added to another GUI element!!!</p>
  
  <p>Please give me a simple example if you can.
  thank you</p>