Programatically creating and managing custom toolbars in C++

Your question has been answered here: