i tried enabling / disabling menubar with some button click on tool bar...
it working fine for me...
can u reproduce some code that gives your error ??