I need help from someone who understands the nature of CDockablePane derived windows better than I.

I have an SDI with 2 CDockablePane derived windows. I wish to have them resize with their original proportions, but cannot figure out how to do that.

Should look like the picture with relative sizes and shapes being the same regardless of resizing of the main window.

Demo app is attached.