The example demonstrates how to support docking style for a StatusBar control.
Download the file by clicking the link above.