Figure 11-9.
The demonstration program shows how to deal with resizable CoolBar controls.