This sample demonstrates the power of the dmbAPI_setTBWidth() function.
As you can see, the toolbar and its items have been resized to fit the width of the page and if you resize the page the toolbar and its items will be resized as well. This is something that cannot be done with the Standard Edition!

So, how do we call the dmbAPI_setTBWidth function? Easy! Just follow these simple steps:

if(cFrame.lwh != wh) {
    cFrame.lwh = wh;
    dmbAPI_setTBWidth(1, wh[0]);
}