Control toolbox in C++