I have made a custom toolbar, and want to know how to dock it from within the code. I don't know how. Please give me the line of code to do this. I have a right click menu on the toolbar, and I want to click it.. to make it dock back with the window it came from. I know how to do this from the window.. it is "DockControlBar" but how do I do this from within the Toolbar code? I hope I've made myself clear. :)
Thanks in advance.