title: Create a property sheet using a dialog template
body: <p>I need to extend an existing MFC app with a UI that will end up very cluttered unless I use a tab control. However, the nature of the UI is that there are some controls that are global, and only some that can be localised to a particular tab.</p>
  
  <p>The standard use of tab controls (<code>CPropertySheet + CPropertyPage</code>) more or less expects there only to be <code>CPropertyPage</code> instances (tabs) visible on the <code>CPropertySheet</code> object, and nothing else. There is a <a href="https://msdn.microsoft.com/en-us/library/et63ay6a%28v=vs.80%29.aspx" rel="nofollow">Microsoft Example Project</a> that shows a single additional window painted outside the area occupied by the tab control... but it's not immediately clear how it is created/drawn/handled, and it is only one single additional window that generates few events (I guess it is painted, so there must be a WM_PAINT event handler lurking somewhere).</p>
  
  <p>Is it possible to lay out a bunch of controls with the MS Dialog Editor, including a tab control, and create the <code>CPropertySheet</code> using that template, hook up event handlers in a nice way, etc... or some equivalent way of getting the MFC framework to do as much of the creating, drawing and event handling as possible when it comes to a situation like this?</p>