This is actually a lot less work than creating the frame,
believe it or not.
For each control in the template, the corresponding child
window is created. The control's sizes and position is
specified in the template in DLUs, so of course they need
to be converted to pixels.
The class name and caption also come from the template.