How to redefine the client area of a panel?

I have an owner-drawn panel with a border. It would be nice if the client area can be redefined so no child control will overlap the border.

Answer this question

How to redefine the client area of a panel?