Files to look at:

How to implement the custom draw functionality for skinned dock panels

This example demonstrates how you can implement the CustomDrawDockPanelCaption event, to manually paint dock panels captions.