This demo illustrates how to use the StdCtrlSkinTool, and also showed how to do layout for your controls.

As you will see in this demo, the layout is really flexible. You can use any complicated controls with this tool.